Lack of testing is one of the largest problems holding teams back from improving the quality of their projects and reducing the length of time it takes to deliver new features. Without quality tests, it’s impossible to fully embrace an automated build and deployment pipeline. In this training, we’ll explain the difference between static analysis, unit tests, integration tests, and end-to-end tests. We’ll show examples of each of these tests for typical React components. We’ll walk through common testing mistakes and how to improve the quality of your test sets without introducing brittleness that slows down future development. Lastly, we’ll explain what makes a good test set, how to design new test cases, and how to look for missing test cases in your existing testing suites.
This training focuses on using Jest, React Testing Library, and Cypress to implement examples.