Wednesday, March 04, 2009

TFS Code Coverage Check-in Policy

TFS Code Coverage Check-in Policy is now available on CodePlex.

The TFS Code Coverage Check-in Policy enforces that the latest test run of the current solution has code coverage enabled and that the total code coverage percentage is not below a certain, configurable, threshold value.

It reads the information from test results folder stored locally beneath the current solution.

To ensure that the user actually ran all the necessary tests, this check-in policy should be combined with the Testing check-in policy, that ensures that the user has executed all tests from a predefined test list.

No comments: