Teamcity NUnit does not work when using JetBrains dotCover

My build failed with this log:

[12:13:40]: Checking for changes [12:13:41]: Clearing temporary directory: C:\TeamCity\buildAgent\temp\buildTmp [12:13:41]: Checkout directory: C:\TeamCity\buildAgent\work\9fecf8ffe0e03cce [12:13:41]: Updating sources: server side checkout... [12:13:41]: Publishing internal artifacts (4s) [12:13:41]: Step 1/3: Visual Studio (sln) (17s) [12:13:58]: Step 2/3: NUnit (19s) [12:13:58]: Starting: C:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe #TeamCityImplicit [12:13:58]: in directory: C:\TeamCity\buildAgent\work\9fecf8ffe0e03cce [12:14:02]: JetBrains dotCover Console Runner v1.1.252.2. Copyright (c) 2009-2011 JetBrains sro All rights reserved. [12:14:05]: Coverage session started [18.8.2011 12:14:05] [12:14:09]: Start TeamCity NUnit Test Runner [12:14:09]: Running NUnit-2.5.10 tests under .NET Framework v2.0 x86 [12:14:10]: MySolution.Communication.Tests.dll [12:14:10]: MySolution.Communication.Tests.TestClass.CanUseGetRequestPacket [12:14:18]: Coverage session finished [18.8.2011 12:14:18] [12:14:18]: Analysed application exited with code '255' [12:14:18]: Coverage session finished but no snapshots were created. [12:14:18]: Process exited with code -2 [12:14:18]: Step NUnit failed [12:14:18]: Build step Duplicates finder (.NET) skipped because of previous step failure [12:14:18]: Publishing internal artifacts [12:14:18]: Build finished 

I use Teamcity Professional 6.5.2, NUnit-2.5.10 v2.0 MSIL and the built-in JetBrains dotCover. Without JetBrains dotCover, everything is fine. In another project, I use the same configuration, and everything is fine. Maybe there is some kind of problem with my test build?

+4
source share
1 answer

dotCover does not work with obfuscated assemblies.

+2
source

All Articles