WHAT DOES IT MEANTO BE
ATEST ENGINEER?
Andrii Dzynia
http://bit.ly/1GYquoR
MY BACKGROUND
β€’ 8 years in software engineering
β€’ started as a test engineer in a team of 20 testers
β€’ currently working on improving product quality
and development productivity at Spotify
https://www.linkedin.com/in/andriidzynia@adzynia
SATURDAY EVENING
https://twitter.com/mfloryan/status/655433887015948288
LET ME SHOWYOUTHE PROCESS
video: https://www.dropbox.com/s/un7m49kdgeuzsbz/test-session-
andrii.mov?dl=0
FOUND BUGS
MY COLLEAGUE,
FRONT-END DEVELOPER.
WHAT DID I LEARN?
β€’ Software always has bugs. If
you have not found any, does
not disprove their existence
β€’ Developers do not spend
much time looking for edge
cases, testers do
WHAT I WANTEDYOUTO
LEARN?
Testing is not a set of artefacts.
TESTING IS A PROCESS.
@adzynia
TESTING PROCESS
GUESS WHAT BUG MARCIN
WAS REFERRINGTO?
MORE LESSONS LEARNED
β€’ People are different. It is hard to predict every
single combination when user can get stuck
β€’ Think slower, sometimes
WHAT MAKESYOU ATEST
ENGINEER?
Critical thinking
Fault models
Patterns recognition
@adzynia
CRITICALTHINKING
https://www.criticalthinking.org/ctmodel/logic-model1.htm
FAULT MODELS
β€œFrom the model, the designer or user can predict
the consequences of a particular fault.” - Wikipedia
video: https://www.youtube.com/watch?v=rEumMkAhwzA
PATTERNS RECOGNITION
https://www.nasa.gov
BASED ON EXPERIENCE BRAIN RECOGNISES
SEQUENCES WHICH LEADSTO UNDESIRED
OUTCOME.
NOTE: BE CAREFUL WITH FAULTY ASSUMPTIONS.
FACE ONTHE MOON SURFACE IS PAREIDOLIA.
β€œPareidolia is a psychological phenomenon when the mind perceives a
familiar pattern of something where none actually exists.” - Wikipedia
LOOK FOR PATTERNS WITH
HIGH FAILURE RISK.
video: https://www.youtube.com/watch?v=qoQssWPRNR0
BRINGINGVIDEOTO SPOTIFY
USERS
http://techcrunch.com/2015/05/20/spotify-introduces-video-clips-
podcasts-and-activity-based-playlists/
TEAM SETUP
COMMUNICATION CAN BE A
PROBLEM
http://dilbert.com/strip/1989-05-31
SOLUTION WAS
Create a #slack channel
Start asking video integration questions
Rise bugs early and facilitate conversations
DID WE PREDICTED ALL DEFECTS BEFORETESTING?
SURELY, NOT.
Data collected by Stefan Rungardt
BUT HOW DIDTHAT HELP?
Integration ended up to be much easier
Testing started earlier
# of production issues was low
WASTHAT EASY?
Not really.You have
to ask questions
people do not want
to hear
http://media2.giphy.com/media/wrTHBbla7suPu/giphy.gif
Tester: Shall video be playing when I lock a screen?
Programmer: I do not know.
Tester: who can know?
Programmer: Product manager?
Product manager: I do not know.
Tester: who can know?
Product manager: let’s take a look howYoutube does it.
After a while we figured why video has to be paused
when you lock a screen. Licensing constraints.
DEFECT PREVENTION
VS
DEFECT DETECTION
β€œBugs are so 90s”
LEAN MANUFACTURING
https://en.wikipedia.org/wiki/Lean_manufacturing
KEEPYOU WORK ENVIRONMENT
IN A GOOD SHAPE
β€’ engineering quality
β€’ product quality
β€’ strive for improvements
ENGINEERING QUALITY
β€’ Start testing as early as possible
β€’ Build safety nets
β€’ Fix bugs as fast as they occur
β€’ Conduct root-cause analysis and take actions
http://www.slideshare.net/AndrewDzynia/quality-built-in
PRODUCT QUALITY
β€’ Product success metrics
Time to first video frame
Number of users streaming video content
Average viewing time, etc.
β€’ Number of production defects
SPOTIFYTEST CERTIFIED MODEL
Inspired by Google
https://mike-bland.com/2011/10/18/test-certified.html
TAKE AWAYS
β€’ Testing is a process, not a set of artefacts
β€’ Cost of defect can be lowered.Think about that
β€’ Find ways to influence quality on organization
level. It is hard, but possible, even for a test
engineer
THANKYOU!
@adzynia
andrii@adzynia.com

What does it mean to be a test engineer?