~/talk

Stop writing tests

Talkat DDD Perth 2021 · on Saturday, 2021-08-14· [testing]
name:Ben Lowry
links:none on file
slides:none on file

Argues for replacing hand-written tests with computer-generated tests by modeling behavior as finite state machines, then filling in actions and assertions and letting a tool generate tests and execute them. Uses a stopwatch example, models in mermaid/xstate, runs generated suites with xstate (and mentions GraphWalker/X8), and goes from 10 auto-generated tests to 37 after adding a missed “lap” state. Claims faster writing, easier maintenance, and better user-focused edge-case coverage when models stay simple.

AI-written summary · about

  1. 0:00Introduction and premise
  2. 1:03Speaker background and testing struggles
  3. 2:26Problems with manual test writing
  4. 2:47What is model-based testing
  5. 3:49Creating the abstract model
  6. 5:32Modeling user interfaces and logic
  7. 7:17Tools for modeling diagrams
  8. 8:41Defining actions and assertions
  9. 10:06Generating tests from models
  10. 11:27Updating tests with model changes
  11. 13:56Summary of three-step process
  12. 14:16Challenges of model-based testing
  13. 14:57Benefits of model-based testing
  14. 16:02Future of automated testing
~/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.