On 6/6/2013 7:40 PM, Jonathan M Davis wrote:
I've definitely used it before (particularly when originally writing
std.datetime), but it's not something that I remember to use often enough. I'm
thorough enough with my unit tests that I tend to assume that I have fully
coverage (which I probably do in most cases), but it would be much safer to
actually check. Having at least the percentage spit out as part of the build
step would certainly be useful though, since then I could see when it
changes.. I wonder if I should set it up so that my unit test builds do that.

If you look in phobos' win32.mak, you'll see some rules that give a minimum cov percentage that each module must pass. It's meant to detect if the coverage is backsliding without requiring any ongoing effort.

Reply via email to