/react-tdd

A simple example showing how to do TDD with React

Primary LanguageJavaScript

React TDD

Test-Driven Development (TDD) is an approach to automated software testing that involves writing a failing test before writing the production code to make it pass. TDD helps you develop a robust test suite to catch bugs, as well as guiding you to more modular, flexible code.

An example project of how to implement end-to-end tests on a React project using Cypress and component tests with Jest and React Testing Library.

Following the steps of Learn TDD.