jeudi 7 mai 2015

C# Unit Test Project in Visual Studio 2013 only showing coverage for Unit Tests.

I created a new unit test project in Visual Studio and added the project under test to the references.

The test methods themselves create an object of the class under test and calls a method in that class. I hit F12 on the class name or method name in the test and it brings me to class itself. It also throws errors when I remove the reference to the project.

But when I run the code coverage I only see the test.dll and coverage of 100%. And there's no project.dll in the test\bin folder.

Has anyone any ideas why it may not be building the project.dll ?

Aucun commentaire:

Enregistrer un commentaire