Anatomy of a Test, or the Usefulness of a Frontend Test
summary
Examines front-end testing fundamentals: why front-end tests matter compared to back-end, how to configure tests quickly, generate Jasmine reports and coverage, and use Chrome DevTools for debugging. Covers testing simple UI elements, includes a live-coding demonstration, and concludes by discussing quality, regression prevention, and whether to adopt end-to-end (e2e) tests.
AI-written summary · about
chapters (12)
- 0:00Test usefulness
- 0:45Front vs back test choice
- 1:25Karma to Jest migration
- 2:28Jest setup and config
- 3:56Coverage report generation
- 5:01Jest with SonarCloud & VS Code
- 6:28DOM selectors with CSS
- 7:32Test app demo
- 8:34Button active state test
- 11:27Loader display test
- 12:49Tests and code quality
- 14:47Conclusion
related talks
38mModern Web Testing: Going Beyond Selenium
44mTesting Front-end Code the Right Way
49mFrontend Testing: Mapping Out the Territory
47mPut Your Frontends to the Ultimate Test
25mExperiences Writing Test Code in Front-End Projects
01h 00mFront end First — surviving with testing in JavaScript
45mThe (Dis)Love of Web Testing
30mModern Web Testing: Going Beyond Selenium
