Download presentation
Presentation is loading. Please wait.
Published byEugenia Gordon Modified over 9 years ago
1
Chris George Website: www.mostly-testing.co.uk @ChrisG0911 Easing the pain of legacy tests
3
O nce upon a time…
4
Flagship product Over 250,000 lines of code Over 10,000 automated tests Tests run in virtual machines Multiple SQL Server versions Continuous Integration
5
The real story…
6
Many attempts to fix over the years == rising complexity == increasing instability
7
Myths, Preconceptions and Folklore
8
Don’t jump into the code…
9
Start with quick wins
10
Tests should clear up after themselves…
11
Exponential comparison… # objects# ComparisonsApprox time 101001 second 10010,0001.7 mins 10001,000,0002.7 hours!
12
By the end of the week - By the end of week 2 - only 1 failure! 95% passing
13
Discuss the problem/failure Pattern #1
14
Pair & Review Pattern #2
15
Pattern #3 Find and fix the quick wins
16
Pattern #4 De-mystify
17
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 Lessons learnt
18
Any Questions? Chris George Website: www.mostly-testing.co.uk @ChrisG0911
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.