Timeline for TDD negative experience
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 28, 2011 at 15:55 | history | made wiki | Post Made Community Wiki by Cesar Canassa | ||
| Aug 4, 2011 at 16:32 | comment | added | Mark Booth | This is where mocking frameworks come in. Instantiate Foo with Mock objects rather than Quux and Baz directly, then you can call the function you want to test and then check that the mocks were called with the functions you expect. Mock objects are the enabling technology that helps decouple units and make them unit testable. This is why singletons are evil, since you often can't just Mock them out. *8') | |
| Aug 4, 2011 at 15:00 | history | answered | Wayne Molina | CC BY-SA 3.0 |