~/talk

HalfStack Thames 2022: David Whitney

Talkat HalfStack Thames 2022 · on Friday, 2022-09-23· [javascript, testing]
slides:none on file

Covers TDD in JavaScript with concrete setup and habits: npm init plus Jest and Babel preset to use ES modules, a VS Code workflow with Wallaby.js continuous test runner, and naming and refactor patterns like the AAA pattern and test data builders. Shows refactors that remove noisy fixtures, magic numbers and duplicated setup, mocks only external systems, and argues to test the what not the how so tests survive rewrites and give fast, local feedback.

AI-written summary · about

  1. 0:00Introduction to testing journey
  2. 1:09Why unit testing matters
  3. 3:13Automated testing fundamentals
  4. 5:41Jest testing framework basics
  5. 8:06Types of software tests
  6. 10:30Setting up Jest in a project
  7. 13:36Writing basic Jest tests
  8. 15:23Test-driven development explained
  9. 19:20Continuous test runners
  10. 20:46Intentionality in test code
  11. 23:13AAA pattern for tests
  12. 26:00Refactoring messy test code
  13. 31:51Modern JavaScript in tests
  14. 32:55Test data builder pattern
  15. 33:37Mocking external systems
  16. 35:43Single concept assertions
  17. 37:29Testing capabilities over data
  18. 39:34The Diamond Cutter example
  19. 42:03Emerging developer tests style
  20. 44:55High-to-low TDD workflow
  21. 47:03Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.