~/talk

Automated Testing JavaScript

Talkat All Things Open 2019 · 2019-10-13..10-15· [javascript, testing]
slides:none on file

Explains exactly how to get fast, reliable feedback: set up mocha and chai with karma to run tests in a browser, use a tiny canary test to verify tooling, stub external services with sinon so tests are idempotent, and prefer tests one layer below the UI following the test pyramid. Shows code coverage, a real divide() example and exception and performance tests, and recommends wiring the canary into continuous integration so failures surface immediately.

AI-written summary · about

  1. 0:00Start
  2. 0:53Sustainable Agile Development
  3. 1:11Feedback Driven Development
  4. 2:02Programming Is the Best Job on Earth
  5. 2:25Feedback Loop
  6. 3:17Jesus Driven Development
  7. 10:01Test Pyramid
  8. 10:37Why Are We Running the Code at the Javascript Layer
  9. 14:24Setting Up a Project
  10. 23:47Continuous Feedback Loop
  11. 26:23Dividing a Number
  12. 27:44Four Types of Tests
  13. 28:05Negative Tests
  14. 29:16Performance Test
  15. 30:09Write an Exception Test
  16. 32:25Code Coverage
~/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.