1 / 18

Easing the pain of legacy tests

Easing the pain of legacy tests. O nce upon a time…. Tests run in virtual machines. Over 250,000 lines of code. Flagship product. Multiple SQL Server versions. Over 10,000 automated tests. Continuous Integration. The real story…. Many attempts to fix over the years. == rising complexity

ermin
Download Presentation

Easing the pain of legacy tests

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Easing the pain of legacy tests

  2. Once upon a time…

  3. Tests run in virtual machines Over 250,000 lines of code Flagship product Multiple SQL Server versions Over 10,000 automated tests Continuous Integration

  4. The real story…

  5. Many attempts to fix over the years == rising complexity == increasing instability

  6. Myths, Preconceptions and Folklore

  7. Don’t jump into the code…

  8. Start with quick wins

  9. Tests should clear up after themselves…

  10. Exponential comparison…

  11. By the end of the week - 95% passing By the end of week 2 - only 1 failure!

  12. Pattern #1 Discuss the problem/failure

  13. Pattern #2 Pair & Review

  14. Pattern #3 Find and fix the quick wins

  15. Pattern #4 De-mystify

  16. Lessons learnt Make best use of the skills on your team Treat test code the same as product code Don’t believe everything you hear Most problems are not hard

More Related