applying testing mindset to software development

26
November 30, 2015 Applying testing mindset to software development Andrii Dzynia Software Engineer @adzynia

Upload: latcraft

Post on 13-Apr-2017

155 views

Category:

Software


0 download

TRANSCRIPT

November 30, 2015

Applying testing mindset to software development

Andrii Dzynia

Software Engineer

@adzynia

2Spotify brings you the right music for

every moment!

Over 20,000 songs added every day

Started in 2006 (in Sweden)

Now 1500+ employees, 600+ engineers

5(STO, GBG, NYC, BOS, SF) engineering offices

Over 30 million songs available

Over 60 million active usersOver 15 million paying subscribers

3

Organic Structure

4

Scaled Agile @ Spotify@joakimsunden

5

Is a Programmer Enjoying learning new things Passioned about technologies

PETER

ONE DAY OF PETER’S LIFE

WAKE UP THINK ABOUT PROBLEM WAS NOT ABLE TO

SOLVE YESTERDAY COMMUTE TO THE OFFICE SYNC MEETING WITH A TEAM FINISH CODING AND DEPLOYMENT GO ON MEETING GET NEW TASK TO WORK ON START IMPLEMENTATION GO ON MEETING GO HOME

6

WHERE IS THE HIDDEN RISK?

7

@visbeek

Peter deployed the code.

Bug

NullPointerException

Issue

403

5xx

503

4xx

IllegalStateException

Bug

9

Let’s hire a tester!

Scenario A

Testing is not my job attitude from programmers

Tester is full of boring routine work

Users are frustrated how long it takes to fix bugs

10

Scenario A'

‘Testing’ is boring let’s automate it attitude

Tester is helping out with test ideas

Tester establishing communication channels with the users

11

Questions

How can we spot issues early?

How could we miss that bug?

How to fix missed bugs faster?

12

Think how to receive feedback13

Feedback during meetings14

challenge ideas and solutions via healthy discussions

prove hypnotises via end user collaborations

15

Feedback while online

comments, corrections, suggestions

shared with everyone, any input is valuable

Feedback during implementation

16

write tests during implementation

rise your concerns during ad-hoc discussions

peer review before merging to master

17

Pre-merge feedback

Post-merge feedback

18

Safety nets

19

http://www.chinaplasticmesh.com/wiremeshimg/other/constructionsafetynet-3.jpghttp://boliplastic.en.ecplaza.net/1.jpg

20

Testing becomes fun

Test(noun) vs

Test(verb)

21

22Pre-merge process

Post-merge process

Testing uncovers what your system/product can and

cannot do.

23

@adzynia

If testing is not fun, then something is

wrong.

24

@adzynia

http://www.spotify.com/jobs

We are hiring!