Chapter 1.5: A balanced testing strategy
How do we decide which kind of tests to use and to what extent? Should we write more unit tests or acceptance tests? Or should we rely primarily on E2E tests? Let's find answers to those questions!
Disclaimer: You are reading an early version of the text! The final version of the book will be revised and may contain additional content.
Above, we have learned about several testing variants, each having unique advantages and disadvantages. Manual testing is costly but allows us to find new bugs by exploration, and we can start testing immediately. E2E tests require a sophisticated test setup. But, they enable us to check our complete system, including all the supporting infrastructure necessary to run our application. Additionally, we can run them as often as needed without incurring additional costs…