Why, What, Where, When, and How of Unit, Integration, and E2E
Kent C. Dodds
Utah
1 wife, 3 kids
PayPal, Inc.
@kentcdodds
if you are able
git clone https://github.com/kentcdodds/testing-workshop.git
cd testing-workshop
npm run setup --silent
Business Logic π·
Security π·
Accessibility π
User Interface π
Performance π
Regression π
Internationalization π·
Integration π
Scaling π
HeartbleedΒ Β Β Β (xkcd)
Unit Testing
Regression Testing
Integration Testing
E2E Testing
Smoke Testing
Usability Testing
i18n Testing
Penetration Testing
User Acceptance Testing
Performance Testing
A/B Testing
a11y Testing
Stress Testing
Fuzz Testing
.
βββ api
β βββ demo
β β βββ integration...
β β βββ unit...
β βββ src...
β βββ tests...
βββ api-final
β βββ demo
β β βββ integration...
β β βββ unit...
β βββ src...
β βββ tests...
βββ client
β βββ demo
β β βββ unit...
β βββ src...
β βββ tests
β βββ integration...
βββ client-final
β βββ demo
β β βββ unit...
β βββ src...
β βββ tests
β βββ integration...
βββ cypress
β βββ e2e...
β βββ support
βββ INSTRUCTIONS.md
Red
Green
Refactor
Bug
Find Code
Write Test
Fix Test
πΈ