Chapter 5: Improving the Tests
The main learning goal of this chapter is to get familiar with how to improve a set of end-to-end tests. This will be achieved with the help of test setup and teardown. Also, we will take a look at different command-line settings to run tests. The testing techniques that we will cover in this chapter are universal and can be reused to write automated tests for any web project. By the end of the chapter, we will have an improved test suite and will learn how to run it with command-line options.
In this chapter, we're going to cover the following main topics:
- Executing selected tests.
- Exploring test setup and teardown.
- Adding setup and teardown to the test project.
- Running tests with command-line settings.