Ashes to Ashes, Specs to Specs: A Farewell to Old Testing Tools
summary
Shows how to replace Jasmine/Karma or Jest with Vitest on Angular apps using the Angular plugin and NX, demonstrating a progressive migration that keeps older tests running while new ones use Vitest. Explains running tests in Node (JSDOM) versus a Playwright-backed full browser mode, how browser-mode user interactions and fast‑forward timers make tests more realistic and faster, and introduces a new testronaut tool to mount Angular components in Playwright (early but working).
AI-written summary · about
chapters (12)
- 0:00Modern testing tools intro
- 1:21Setup V test for Angular
- 3:57Migrate Jest to V test
- 7:11Debug tests in browser mode
- 13:52Failing test with TDD
- 17:19Reusable test fakes
- 22:47Polling for async assertions
- 26:51Realistic browser interactions
- 30:45Vest browser mode internals
- 35:29Debounce and time control
- 39:49Testronaut for components
- 40:53Migration takeaways
related talks
27mTesting in 2024
22mTwenty Years of Web Testing: From Selenium's Dawn to Vitest's Promise
59mTechniques and practices for testing Angular 2
30mModern Web Testing: Going Beyond Selenium
36mModern Web Testing: Going Beyond Selenium
56mTechniques and practices for testing Angular
31mGreat Expectations – Understanding nodejs Testing Frameworks
39mTesting, Testing, 1, 2, NaN
