i agree that incorporating code coverage criteria in your build scripts is very restrictive, but you have no choice if your team is just starting out doing tdd or writing plain automated unit tests. how can you force them to learn to write automated unit tests if you will not be pressuring them? without it, you can just watch your project's coverage percentage slowly dropping as you come close to the release phase.
we've got new developers in our company and i believe the idea of incorporating test code coverage build task for new projects should be enforced. this way, the new ones will really learn to write tests, if not ask assistance on how to write them. once everybody knows and understands the importance of having automated tests then you can drop this restriction, or should you? what do you think?
Posted
05-25-2007 10:04 AM
by
jokiz