~/talk

Anatomy of a Test, or the Usefulness of a Frontend Test

TalkinFrenchat DevFest Toulouse 2024 · on Thursday, 2024-11-07· [testing]
links:none on file
slides:none on file

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

  1. 0:00Test usefulness
  2. 0:45Front vs back test choice
  3. 1:25Karma to Jest migration
  4. 2:28Jest setup and config
  5. 3:56Coverage report generation
  6. 5:01Jest with SonarCloud & VS Code
  7. 6:28DOM selectors with CSS
  8. 7:32Test app demo
  9. 8:34Button active state test
  10. 11:27Loader display test
  11. 12:49Tests and code quality
  12. 14:47Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.