BDD & TDD in React
summary
Compares testing tools and shows what actually changes: a 2019 migration from Enzyme to React Testing Library, examples using Cypress for integration, and a live red‑green‑refactor cycle labeled red green refactor that produces tests which survive refactors. Explains concrete tradeoffs, when BDD vocabulary maps to user stories, and demonstrates a small React feature with tests that prove refactoring keeps behavior intact.
AI-written summary · about
chapters (5)
related talks
33mTDCD: Test Driven Component Development
29mTest-Driven Development with Jest
18mTesting React in a Right Way
24mUsing React Testing Library to Write Stronger Tests
30mTesting Front-End Applications
22mElizabeth Funk - An Introduction to React Testing Library
26mMigrating from Enzyme to React Testing Library
25mTesting React
