Posts Tagged 'Quality'

How to enable Code Coverage analysis during TFS 2010 build

How to enable Code Coverage analysis during TFS 2010 build

In order to show how to enable Code Coverage analysis during TFS 2010 build I will use Microsoft Virtual Machine from Brian Keller.

In TailSpin Toys sample project there is a manual build called Tailspin Toys – Iteration 2. This contains some sample Unit Tests that are executed, but without code coverage analysis.

In order to activate it:

  1. Open the solution in Iteration 2
  2. Change file testsettings with Test –> Edit Test Settings –> Trace and Test Impact
    1. Data And Diagnostics
    2. Select checkbox Code Coverage
    3. Press Configure
    4. Select all assemblies to be checked for Code Coverage
    5. OK –> Apply –> Close
  3. checkin the modified ...
Continue Reading →
0