In the previous post, we saw how unit tests can serve as a reliable source of documentation for your code. There is a lot more that unit tests can do for you. In this post I’ll talk about a fairly obvious, but often ignored, benefit to unit testing: Refactoring.
Continue reading “The merits of unit tests — Part 2”Tag: unit test
My code is bugfree! Why should I unit test?
There are multiple reasons to write unit tests. Verification is only one of them, and the least interesting. This is part 1 of a five part series on why you should write unit tests (apart from the obvious): Documentation!
Continue reading “My code is bugfree! Why should I unit test?”