Archive for October, 2007

Code Coverage with TestDriven.Net in Visual Studio 2003

In VS2003 you can’t add your .exe to project reference of separate test assembly. So it is well known practice to copy it to some folder, rename to .dll and reference it from there. (Note: VS2005 allows you to reference .exe)

After performing such steps when you run Coverage from TestDriven.Net context menu, you can notice that there is coverage only for the test assembly.

Solution: Many chances you didn’t copy .pdb file for the .exe, but NCover can only profile assemblies which have .pdb files for them

Advertisements

October 30, 2007 at 11:22 am Leave a comment


Calendar

October 2007
M T W T F S S
« Sep   Jan »
1234567
891011121314
15161718192021
22232425262728
293031  

Posts by Month

Posts by Category