Slides form the talk I gave at Testival 2017 (http://www.testival.eu) about my anxieties of being a tester.
TESTER’S ANXIETIES
View Slide
my name is Alex
my name is Alex@p0deje
Test automation"
Test automationPerformance testing"
Test automationPerformance testingSecurity testing "
Organizing testing process#
Organizing testing processAgile testing#
Organizing testing processAgile testingTest management #
Any talks about testers?
What bothers me mostas a tester?
↖ ⬆ ↗⬅ ➡↙ ⬇ ↘
Do agile teams need testers?
Do agile teams need testers?Should testers fix bugs?
So, you want to release?Tell me more about how we rollit back when we’re screwed
Contradictions+Cautiousness=Anxiety
MY ANXIETIES
.
. Cultural studiesEnglish
✍ Technical writer Software tester
“All I need to do is use the application,write down problems and they also pay me for this?How awesome is that!”Brand New Tester
logging bugs > doing testing = logging bugs < doing testing = logging bugs ≃ doing testing =
6
6Test automation
Test automationPerformancetesting6
Testing is easy6
Testing is hard6
Testing is hard
I DON’T KNOW HOW TOTEST
Boundary value analysisEquivalence partitioningPairwise testingDecision tables
How to test?
How to test?9
Object-oriented programmingFunctional programming
Object-oriented programmingFunctional programmingDRYSOLIDYAGNI
Design patternsBooksObject-oriented programmingFunctional programmingDRYSOLIDYAGNI
Programming TestingAnalysisDecompositionAnalysisDecompositionCompositionSynthesis
A tester is;<
A tester is;=
Keep looking for the answer
Automated testingvsManual testing
DO I AUTOMATE ENOUGH?
DatabaseFront-endServerSearch enginesAnalyticsAssets3rd party integrations
Unit tests
Unit testsIntegration tests
Unit testsSystemtestsIntegration tests
Unit testsSystemtestsExploratorytestingIntegration tests
Unit testsUItestsExploratorytestingIntegration tests
Unit testsIntegration testsUItestsExploratorytestingAPI tests
PRODUCTION
PRODUCTIONUnit testsSystemtestsIntegration tests
PRODUCTIONI am a serverconfigsyntax error!
PRODUCTIONSystemtestsIntegration tests
PRODUCTIONI am an invalidinput error!
PRODUCTIONUnit testsIntegration tests
PRODUCTIONI am a brokencontract betweenAPI and front-end!
Can I write a goodtest on this level?Unit testsSystemtestsExploratorytestingIntegration tests
Do I automate too much?
Tests are dumb
I DON’T TRUST MY TESTS
ArrangeActAssert
6 Uses availabledataShares databetween testsUses data thatis told to useShould not sharedata between tests
Online shop
Online shopAdd item to cartUpdate item in cartRemove item from cartCheckout
Online shopAdd item to cartUpdate item in cartRemove item from cartCheckout 6
6 Less deterministic More deterministic
How can we make testsless deterministic?
Model-based testing
Usual test Model-based testDetermine theexact stepsDescribe thepossible statesand stepsbetween them
no items in cart
no items in cartitem in cart
no items in cartitem in cartAdd item to cart
no items in cartitem in cartAdd item to cartRemove item from cart
no items in cartitem in cartAdd item to cartRemove item from cartUpdate item in cart
no items in cartitem in cartAdd item to cartRemove item from cartUpdate item in cartCheckout
Less deterministicImproved test coverageSame execution time
Test oracle☝
Combinatorialproblems
Period of beinga customerCountry# of purchasesAveragetime on site
Period of beinga customerCountry# of purchasesAveragetime on site42%
RandomizedinputNeural networkSystem under testCompare
KEEP LEARNING“THIS IS FINE”
I DON’T KNOW IF IAUTOMATE ENOUGH
USE TEST PYRAMID
DON’T WRITE MORE TESTS,MAKE TESTS SMARTER
WHAT ARE YOURANXIETIES?
WHAT ARE YOURANXIETIES?@p0deje[email protected]
my name is Alex@p0deje[email protected]