We have been looking at different test smells that indicate that there is something wrong with your test suite, with your test process, or with the competence or motivation of your testing developers.
The important factor when doing test automation is to never forget what you're doing and why you are doing it. While writing the test number 2,501 in the suite, it can be difficult to remember that the test helps you design your system. It will provide regression so you avoid fixing problems that you've already fixed. Lastly, it will help you gain quality in your application, which reduces the total number of bugs to fix in the first place.
In the next chapter, I will close this book with some thoughts on dos and don'ts when it comes to test automation. This will help you succeed in scaling large test suites.