~/talk

Testing First - Getting The How

Talkat NDC London 2025 · 2025-01-27..01-31· [testing, developer-experience]
slides:none on file

Shows a pragmatic path to testing-first by building a .NET Web API with xUnit, an in-memory repository and WebApplicationFactory tests that exercise inputs and outputs rather than internals, uses microspikes and a small “making app” to iterate fast, implements POST/PUT/DELETE endpoints and adds a 409 conflict for duplicate posts, refactors storage from list to dictionary without breaking tests, and warns that tools like SonarCloud 100% coverage can mask problems (one real case passes after 80% of code removed).

AI-written summary · about

  1. 0:00Introduction
  2. 1:36Testing misconceptions
  3. 3:04Ignoring functional tests
  4. 8:20Confirmation bias in testing
  5. 11:08Start with the problem
  6. 13:37Collaborate with testers
  7. 16:04Technical testing strategies
  8. 17:55Micros spikes for ideas
  9. 20:23Simplify testing with apps
  10. 22:51Avoid over-mocking
  11. 24:41Test APIs outside-in
  12. 27:13Live demo setup
  13. 31:53First test for to-do app
  14. 36:48Build to-do API test-by-test
  15. 45:51Add duplicate validation
  16. 48:18Refactor safely with tests
  17. 50:30Benefits of testing-first
  18. 52:38Avoid over-abstraction
  19. 55:11Balance DRY in tests
  20. 58:21Real-world testing-first
  21. 1:00:10Testing-first journey
~/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.