TDD in .NET course - Day 2 Learnings
Historical article · Originally published August 11, 2011; technical details may be outdated.
Just finished day two od TDD in .NET course here in oslo.
here are the list of things we covered today:
- Test that an even gets fired
- Understand the boundaries of a unit of work (more than a single method)
- mocks vs. stubs
- manual mocks and stubs
- Dependency Injection via constructors
- TDD is about removing assumptions from the code one by one
- How to control time in tests
- How to Learn things, and what ravines and plateus are
- Go mouseless inside vs (for the entire day!)
- How to use and not abuse test coverage
Lessons on this topic
- Understanding the Problem · TDD Pairing Sessions - Building a Go Game
- Finding a Winner · TDD Pairing Sessions - Building a Go Game
- Simplicity is Complicated · TDD and BDD in Ruby