Speed up your Tests - Devi Sridharan, ThoughtWorks

1,705 views

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,705
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
14
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Speed up your Tests - Devi Sridharan, ThoughtWorks

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

×