~/talk

Identifying and Testing Details That Matter Using Automated Tests

Talkat TestCon Europe 2023 · 2023-10-25..10-27· [testing]
links:none on file
slides:none on file

Concrete fixes and tools replace vague promises: refactor the Harry Potter bookstore pricing tests to use a shared book price constant and small helper functions so expectations read like a formula and need only one edit when prices change; use xUnit and Gherkin with AutoFixture Fixture.Create or a simple dummy.Any to avoid meaningless literals; compare whole expected vs actual objects instead of multiple asserts; split the caching/rate‑limit scenario into one assertion per test; prefer DAMP over DRY for readable, maintainable tests that actually surface failures.

AI-written summary · about

  1. 0:00Automated testing frustrations
  2. 1:06xUnit testing approach
  3. 2:08Hardcoded values in tests
  4. 10:25Dummy values for test data
  5. 14:02Mapping domain objects
  6. 17:42Validation test values
  7. 26:21Refactoring web service tests
  8. 29:38Readability in Gherkin tests
  9. 37:44Test readability best practices
~/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.