Configure TeamCity embedded dotCover to run with TypeMock

Is there any way to use the embedded dotCover with TypeMock.

Here's how to call TypeMock from the command line.

TMockRunner.exe nunit3-console Src\Tests\bin\Tests.dll

However there doesn't appear to be a way to configure this within TeamCity.

If I use this in my nant script, then TeamCity recognizes the tests and how many pass or fail, but no code coverage reports are created that I can find. Not even in the hidden artifacts.

<exec program="TMockRunner.exe" commandline="nunit3-console Src\Tests\bin\Tests.dll" />

 

0

Please sign in to leave a comment.