+ All Categories
Home > Software > 7 Cardinal Sins of Automation Testing

7 Cardinal Sins of Automation Testing

Date post: 21-Jan-2017
Category:
Upload: stowarzyszenie-jakosci-systemow-informatycznych-sjsi
View: 194 times
Download: 3 times
Share this document with a friend
17
7 CARDINAL SINS OF TESTING REM IGIU SZ DUDEK
Transcript
Page 1: 7 Cardinal Sins of Automation Testing

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

AGENDA•Glutony•Greed•Sloth•Envy•Pride•Kenodoxia•Desire/Anger

Page 3: 7 Cardinal Sins of Automation Testing

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

aPraepropere – before time

Page 5: 7 Cardinal Sins of Automation Testing

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

aArdenter/Nimis – too eagerly/much

Page 7: 7 Cardinal Sins of Automation Testing

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

aForente – wildly

Page 9: 7 Cardinal Sins of Automation Testing

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

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

ENVYOne wants to do other's duties• System test extensively asserting (ex. report content)

Page 12: 7 Cardinal Sins of Automation Testing

KENODOXIA - BOASTING

Page 13: 7 Cardinal Sins of Automation Testing

BOASTING TEST

MODEST TEST

Page 14: 7 Cardinal Sins of Automation Testing

PRIDEIt's good to know

languages but...• Java•Groovy• Scala• XQuery• Etc.

Page 15: 7 Cardinal Sins of Automation Testing

WRATH / DESIRE

Page 16: 7 Cardinal Sins of Automation Testing

WRATH

Page 17: 7 Cardinal Sins of Automation Testing

THANK YO

U

Thou

shalt

go and re

sist t

he tem

ptation

to si

n


Recommended