Testing in 2024
summary
Karma is deprecated and Angular moves to Web Test Runner, while Jest gains official support and Vitest (via V) offers faster, ESM-friendly runs; the testing strategy shifts from a unit-heavy pyramid toward a middle-focused “trophy/honeycomb” of component/integration tests; component testing works best with the Testing Library and can be run via Cypress or the rising alternative Playwright which claims the top spot over Cypress for parallel runs, trace replay and fewer browser limits, though Playwright component testing remains community‑experimental.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 0:13Testing definitions
- 1:41Angular testing strategies
- 3:41The testing trophy
- 6:49Angular testing tools
- 9:17Jasmine and Karma
- 10:48Jest for Angular
- 12:59Vitest overview
- 14:18Cypress E2E
- 17:39Playwright E2E
- 19:35Component testing
- 21:38Testing library and CT
- 26:18Recommendations
- 26:42Q&A and conclusion
related talks
43mAshes to Ashes, Specs to Specs: A Farewell to Old Testing Tools
22mTwenty Years of Web Testing: From Selenium's Dawn to Vitest's Promise
15mComponent Testing in 2026: The Return of the Browser
29mThe 2025 State of JavaScript Testing
59mTechniques and practices for testing Angular 2
42mSurviving the JS Testing Tools Jungle
19mModern Testing Strategies for Reactive Applications
45mReactive Testing Strategies with NgRx
