Writing one test is easy; writing thousands of tests, maintaining them, and ensuring they don’t become a burden for development and the team is hard. Let’s dive into some tools and best practices that help us define our test suite and keep it in shape.
To support the concepts in this chapter, we are going to use the test suite written for our Chat application in Chapter 2, Test Doubles with a Chat Application. We are going to see how to scale it as the application gets bigger and the tests get slower, and how to organize it in a way that can serve us in the long term.
In this chapter, we will cover the following topics:
- Scaling tests
- Working with multiple suites
- Carrying out performance testing
- Enabling continuous integration