Test Driven Development with C# - from Padawan to Jedi
summary
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
chapters (9)
- 0:00TDD with C# introduction
- 3:11Why write tests
- 15:56What is TDD
- 26:54TDD benefits
- 32:09What to test in TDD
- 37:30Live TDD demo in C#
- 47:23Chekhov's gun in testing
- 50:32Top-down vs bottom-up TDD
- 1:00:00TDD pitfalls
related talks
01h 05mTDD and The Terminator — An Introduction to Test Driven Development
55mTDD and the Terminator - An introduction to Test Driven Development
48mTDD - It's About More Than Just the Tests
48mTDD and the Terminator - An introduction to Test Driven Development
43mTechnology mix: Test-Driven Development in action: live session
28mTDD for Absolute Beginners
45mTDD makes you a better everyday developer
28mTDD for Absolute Beginners
