|
|
|
|
|
by ajmurmann
3182 days ago
|
|
A few things:
1. Proper TDD cycle is to write a single test and then make it pass. Maybe you write a acceptance test followed by a unit test; make the unit test pass; run the acceptance test; write more unit tests; and make them pass as well till the acceptance test passes. Writing all tests upfront deprives you of design feedback from your tests. 2. Even TDD done right has the most productivity benefits in the long run not short term. Your code base will be more maintainable because it will be more decoupled and you can refractor with confidence. In the short term you are faster without it. Edit: I cannot recommend reading "Growing Object Oriented Software Guided by Tests" enough. I also recommend watching some of Justin Searls stuff. |
|