Microtesting: How We Set Fire To The Testing Pyramid While Ensuring Confidence
Do you want to write less tests for the same amount of confidence?
Do you want to print out the testing pyramid on a dot matrix printer, take it outside and set fire to it?
How confident are you that you can survive the refactoring apocalypse without breaking your tests?
As consultants, we get to see how testing is performed across many different organisations and we have a chance to experiment with different testing strategies across multiple projects. Through this experience, we have developed a pragmatic process for setting an initial testing strategy that is as simple as possible and iterating on that strategy over time to evolve it based on how it performs. We have also settled on a style of testing that has proved to be very effective at reducing testing effort while maintaining (or even improving) confidence from our tests.
This talk will focus on some of our learnings and we will cover the different types of testing and how they interact, breaking apart the usual practice of testing all applications in the same way, the mysterious relationship between speed and confidence, how we were able to throw away the testing pyramid and a number of techniques that have worked well for us when testing our applications.