Speed up your tests
Devi Sridharan
Long test suite….
Identify flaky tests
Never heard of
it!!!
Flaky Test contd…
Isolate flaky
test
Analyse
Fix the
flakiness
Monitor it
continuously
Parallelisation
Independent tests
Multiple Virtual machines
Parallel execution tools
(selenium Grid,Test Load
Balancer etc )
Break the Tests
Smoke Test Suite
Regression Test Suite
Create smart test data
A wise QA once said:
Create smart test data[Contd…]
Create test data via database
or API
fast
Reliable
Fan of xpaths??
To identify objects
Use direct attributes like
id,name
Avoid generic locators
like //table/tr[2]/td
More caffeine to tests…
say ‘NO’ to generic waits
Conditional waits
Unit test is no more Dev’s Territory… :)
Questions???

Speed up your Tests - Devi Sridharan, ThoughtWorks