Chapter 5. Setting Up an Effective Testing Environment
One of the most important practical aspects of unit testing is the development environment. Unit testing a web application should be as easy as possible, and this is not only a matter of application design and frameworks.
In the previous chapters, we analyzed how to properly design a web application and how to introduce unit testing effectively, yet this is not enough. We also need to put together a development pipeline that is easy to set up, organize, and run continuously. In fact, one of the most important objectives of unit testing is to have control over the development progresses, which can be better if executed at every single code modification.
We need a system focused on task automation so that we can execute our unit testing suites in a comprehensive build process, from the development source code, to the delivery production package. In this regard, there are a lot of different products and tools that we can adopt...