http://www.thecortex.net/clover/ is a useful tool that we used to improve our unit tests. It proved to be valuable in pointing us in the right direction (you should also test for the “unexpected conditions”) and in the end we had a much more robust system. You can contact me at adrianbirlogeanu