|
Feb 15 |
comment |
How do people doing TDD handle loss of work when doing major refactoring Excellent answer. In my experience of TDD it is important that the written tests focus on the functional behaviours of the software and away from unit testing. It is more difficult to think about the behaviours you need from a class, but it does lead to clean interfaces and potentially simplifies the resulting implementation (you don't add functionality that you don't actually need). |