Modifying TDD tests
In the previous section, we looked at how TDD tests are structured and the rationale through which they are developed to suit the application under development. As we mentioned earlier, we will not go into the details of how we will develop the application. Instead, we will focus on how to integrate testing into the application under development. The application being referenced here is available in this book's GitHub repository (https://github.com/PacktPublishing/End-to-End-Web-Testing-with-Cypress/tree/master/chapter-06/).
In this section, we will use the TDD tests that we created in the previous section. The TDD tests that we will be building on are responsible for testing the defined requirements of the application, which are as follows:
- Adding new todo items
- Deleting todo items
- Viewing added todo items
- Viewing a count of added todo items
Now that we have written the tests, we will add features to the application as we modify...