Determining Test Coverage on "New Code"

We have a (few) large legacy applications. We have moderate test coverage. We have a new mandate to achieve 90% test coverage on all new code.  The reports we generate in our CI process shows us our entire code coverage -- the new, the old, all of it.  No coverage tool seems to cover this seemingly useful scenario.

It looks like if there was a way to leverage the Continuous Testing feature

from within the automated build process, say a custom configuration you run once per month, and dotCover could run the tests on all affected code since the previous month, you could might be able to get a little closer to finding your coverage on "new code".

Anyone else solve this problem? It seems a tough nut to crack.

Please sign in to leave a comment.