Automation Testing

&

THe elephant in the room

spaghetti

ELEPHANT

ORGANIZATION

ORGANIZATION

the crew is confused

2 hour standups

MISCOMUNICATION

skype

hipchat

emails

slack

jira

+ long response times.

ironically...

NO vets :(

SPAGHETTI

READABILITY

length del spec_helper.rb
Examples of horrible tests.

TIME

DEPENDENCIES

RANDOMNESS

XPATH

the nemesis

|THE ELEPHANT|

nOBODY wants to run the tests

not even you

NOBODY WANTS TO FIX THE FAILING TESTS

(Not even you)

NOBODY WANTS TO SEE anything related to your tests

NOT EVEN YOU

your tests will always suck.

WHAT the f*
do we
do?!

Start with problems they can't deny

BREAK DEPENDENCIES

PAGE OBJECT

NOTATION

OPTIMIZING FOR READABILITY IS KEY

Tests are read more often that they're written.

deck

By Daniel Contreras