I am using NAnt to run my builds with TeamCity. The build is running without any problem. It also displays me that all tests had passed. NCover created the coverage xml file. There are a lot of information about the components mspec is using to run the tests in it but there is nothing about my code. When generating the Html-Report my module is missing completely. For me this is really strange. Is there someone who is able to help me?
The NAnt-target:
<target name="teamcity">
<ncover program="c:\Program Files\NCover\ncover.Console.exe"
testRunnerExe="src\Solutions\packages\Machine.Specifications.0.4.9.0\tools\mspec-clr4.exe"
testRunnerArgs="src\Mock2Dgs.Tests\bin\Debug\Mock2Dgs.Tests.dll --teamcity" />
<mkdir dir="Artifacts/coverage" />
<exec program="c:\Program Files\NCover\NCoverExplorer.Console.exe" output="ncoverexplorer.log" workingdir="Artifacts/coverage">
<arg value="..\..\Coverage.xml" />
<arg value="/h:coverage" />
<arg value="/r:FullCoverageReport" />
<arg value="/p:${Project.Name}" />
<!--<arg value="/eas:${coverage.ExcludeAssemblies}" />-->
</exec>
</target>