ShriKant Vashishtha represents Malonus and is an enterprise Agile Coach, trainer, IT strategist and hands-on geek. He writes blogs on Agile, Lean, DevOps topics at http://www.agilebuddha.com (considered to be in top 25 Agile blogs of the world). He is a frequent speaker to various Agile conferences over the years.
How to get the best ROI on Your Test Automation Effort?
Long time back, the focus was on testing classes, its methods in isolation which got termed as unit tests.
People were obsessed with 100% coverage. That all resulted in a lot of brittle test code which used to break every now and then as and when class contracts got changed. Resulted in lots of waste.
Move forward and people recognized it and understood problem with class based testing with mocks.
The focus is not on the functionality (behavior) instead is on implementation (classes). A change in implementation causes change in tests.
James Coplien wrote seminal articles on "Why most unit testing is waste" and people experimented with this idea as well. Cope also mentioned TDD is not the right way to design and provided better alternatives.
In the light of all this how relevant unit tests are and how relevant TDD is?
Let's learn all that and more.