CCTDD: Cypress Component Test Driven Design

Time Saved: 3 Min
CCTDD: Cypress Component Test Driven Design

This book focuses on elevating front-end engineering through Test-Driven Development (TDD) using Cypress Component Testing, React, and TypeScript. It will guide readers in recreating Angular's "Tour of Heroes" application in a test-driven manner. Readers will start by developing components with Cypress component testing, moving from child components to full state management and routing. The second half emphasizes Cypress end-to-end testing, API testing, and UI-integration tests, comparing Cypress with React Testing Library for each TDD cycle. Code samples are designed for immediate use to encourage incremental improvement. The book references Angular as a requirement spec and facilitates comparisons for developers familiar with Angular and Vue. Additional contributors include John Papa, Matthew Schrepel, Stefano Magni, Gleb Bahmutov, and Kent C. Dodds. The book evolves continuously, with potential expansions like Redux and NextJs. Discussions and issues can be addressed in the CCTDD GitHub repository, which provides a template including various tools and configurations for project setup.