~/talk

An Introduction to Test Bench

Talkat wroc_love.rb 2023 · 2023-09-15..09-17· [testing]
github:ntl
slides:none on file

A tiny Ruby test framework is described that was built with strict TDD, rewritten into a V1 using git checkpoints and iterative commits, and ends up self-testable so its DSL can be included in any class. The tool exposes a minimal API (nested contexts, assert/refute, tests) plus composable fixture objects for comparing complex data structures; it ships real output (context, details, full diffs), is used in production projects, and demonstrably works.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:09Learning TDD the hard way
  3. 3:39Personal struggles and growth
  4. 7:17Collaboration with Scott
  5. 10:28Creating Test Bench
  6. 12:39First Test Bench release
  7. 13:41Rewriting Test Bench with TDD
  8. 16:11Design principles and corrections
  9. 18:59Checkpoints and iterative improvement
  10. 21:45Personal challenges and recovery
  11. 23:10Resuming Test Bench development
  12. 24:17Self-testable Test Bench
  13. 27:53Fixtures and test objects
  14. 30:00TDD vs static types
  15. 33:12TDD as a process and philosophy
  16. 36:25Ongoing improvement and practice
  17. 38:57Q&A on fixtures and assertions
~/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.