7 Cardinal Sins of Automation Testing
-
Upload
stowarzyszenie-jakosci-systemow-informatycznych-sjsi -
Category
Software
-
view
194 -
download
3
Transcript of 7 Cardinal Sins of Automation Testing
![Page 1: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/1.jpg)
7 CARDINAL SINS OF
TESTING
R E M I GI U
S Z DU D E K
![Page 2: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/2.jpg)
AGENDA•Glutony•Greed•Sloth•Envy•Pride•Kenodoxia•Desire/Anger
![Page 3: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/3.jpg)
GLUTTONY• aPraepropere – too soon
• aLaute – too expensive
• aNimis,aArdenter – too much / eagerly
• aStudiose – too daintly
• aForente – wildly
![Page 4: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/4.jpg)
aPraepropere – before time
![Page 5: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/5.jpg)
aLaute – too expensive
• Ensure that something does not happen (impossible/flickering)• Basing on schedulers (* */1 * * *)• Push downwards
![Page 6: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/6.jpg)
aArdenter/Nimis – too eagerly/much
![Page 7: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/7.jpg)
aStudiose – too daintly
•Mockery• Try not to mock at all (functor approach)• Try not to mock business objects (business object
library)
![Page 8: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/8.jpg)
aForente – wildly
![Page 9: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/9.jpg)
GREEDOne wants access to resources
she should not have access to• system test using non-business API (ex. querying DB to see if everything is ok)• integration test checking state of classes that it is supposed to integrate
![Page 10: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/10.jpg)
SLOTHOne does not want to do one's duty• Tests that do not clean after themselves• Purposely usess mess left by other test
![Page 11: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/11.jpg)
ENVYOne wants to do other's duties• System test extensively asserting (ex. report content)
![Page 12: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/12.jpg)
KENODOXIA - BOASTING
![Page 13: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/13.jpg)
BOASTING TEST
MODEST TEST
![Page 14: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/14.jpg)
PRIDEIt's good to know
languages but...• Java•Groovy• Scala• XQuery• Etc.
![Page 15: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/15.jpg)
WRATH / DESIRE
![Page 16: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/16.jpg)
WRATH
![Page 17: 7 Cardinal Sins of Automation Testing](https://reader030.fdocuments.net/reader030/viewer/2022021506/58832a7e1a28abe2758b73b9/html5/thumbnails/17.jpg)
THANK YO
U
Thou
shalt
go and re
sist t
he tem
ptation
to si
n