Setting up the application
To avoid any further complexity in this section, we will not focus on how we will build the application but on how we will be implementing the tests as we build the application. For background context, the application we will be building will be using the ReactJS library, which is written in JavaScript.
Having understood what our application looks like, we will take a step-by-step approach to writing our tests before we begin the process of developing our application. As we mentioned previously, we have written the application features that we will be building toward. We will start by writing TDD tests so that we can add new todo items.
Adding new todo items
The first TDD tests that we will focus on are tests that will be responsible for checking that new todo items have been added to our todo list. To follow these steps, navigate to the tests
directory that you cloned from GitHub with the following command:
cd chapter-6/tdd-todo-app/integration...