How to detect assemblies that are not tested


Not sure if this goes under a TeamCity or dotCover discussion group. I tried posting over on the TeamCity discussion but got no response, so I will try here.
We have a project on teamcity 6.5.2 (build 17935) and have a build step that runs nunit 2.5.9 on all assemblies that have the word test in the filename.
We also have .Net code coverage setup using the packaged dotCover that comes with Teamcity. In the Assemblies filters we have the following:


This is to remove coverage of some of Microsofts generated code.

But anyways, I would like it so that if a developer addes a new assembly to the project that does not have a corresponding test fixture that the code coverage would show that assembly as not being covered. Currently the assembly is only showing up if at least one class in the assembly is called from a test fixture.

Do I just have this project build step mis-configured? Any help with this would greatly be appreciated.


Comment actions Permalink

Hello Damien,
This is a very good question.
Currently there is no way to get coverage info about the assembly which wasn't loaded during unit test execution.
We are investigating ways to provide api for including such asemblies in resulting coverage info.

Comment actions Permalink


Thank you for the answer. I thought maybe I was missing something. We were operating as if dotCover already did this until we found that some assemblies that did not have tests were not showing in the dotCover reports.

We will anxiously await this ability.



Please sign in to leave a comment.