~/talk

Make your tests tell the story of your domain

Talkat NDC TechTown 2019 · 2019-09-02..09-05· [testing]
links:none on file
slides:none on file

A 300,000-line Java monolith serving the Norwegian courts runs automated value-chain tests that exercise full workflows so product experts can read the domain story; tests also include technical facade checks and property tests that catch obscure edge cases. One unexpected bug — the property test "house owns itself" — once crashes production with infinite recursion and prompts a safety test that prevented recurrence. The team uses English for technical tests, Bokmål for business tests, and experiments with mob programming, Cucumber and FitNesse.

AI-written summary · about

  1. 0:00Intro
  2. 0:40A project named Lovisa
  3. 1:47A long time ago in a Lovisa far, far away
  4. 2:58We don't like testing
  5. 4:27Use your computer
  6. 6:34Why do we write tests?
  7. 7:35What story do you want to tell?
  8. 8:19Tell the whole story
  9. 9:33What happens when you die?
  10. 11:18One test, several wins
  11. 13:44Value chain your unhappy paths
  12. 16:39Tell the quirks of the domain
  13. 20:36What is a domain?
  14. 22:10What is the technical domain?
  15. 23:17Different domains, different languages
  16. 25:35Tell the technical details
  17. 27:42Tell the business details
  18. 28:26Tests are as important as production code
  19. 30:18Tell the story bearing in mind that you'll forget things
  20. 31:36Naming tests
  21. 33:20Don't tell lies
  22. 34:31Use real mocks
  23. 38:52Beware the copy-paste fallacy
  24. 39:28Typing prevents domain lies
  25. 41:14Mob testing - useful for the whole team
  26. 42:58Long story short
~/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.