~/talk

Test Driven Development with C# - from Padawan to Jedi

Talkat NDC Porto 2023 · 2023-10-16..10-20· [testing]
slides:none on file

Shows practical TDD in C# with live coding: writes failing tests, uses red green refactor, then refactors an EmployeeValidator into a record and passes xUnit-style tests using FluentAssertions. Distinguishes unit/integration/end-to-end tests, explains tradeoffs (speed, determinism, external deps), suggests testing behavior not implementation, and applies Checkov’s gun to trim test setup. Demo compiles, produces NotImplemented failure first, then green tests, and stays focused on small iterations rather than big upfront design.

AI-written summary · about

  1. 0:00TDD with C# introduction
  2. 3:11Why write tests
  3. 15:56What is TDD
  4. 26:54TDD benefits
  5. 32:09What to test in TDD
  6. 37:30Live TDD demo in C#
  7. 47:23Chekhov's gun in testing
  8. 50:32Top-down vs bottom-up TDD
  9. 1:00:00TDD pitfalls
~/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.