The new NCover 3.4.2 forces all my tests to MSTest

Yesterday I decided to install the newest version of NCover (3.4.2). However, when I ran it on an existing .ncover config file, the NCover output unexpectedly said that all my MSTest tests had failed. Of course, these tests succeeded when they were running in Visual Studio. Because of this, NCover cannot detect coverage.

Somehow the old config doesn't seem to work with the newer version.

Does anyone know what could be the problem or how to solve it?

Btw. Here is my ncover config.

Project Settings: Application Profile Path: c: \ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ IDE \ MSTest.exe

Application arguments for profile: /testcontainer:D:\dev\MyApp\MyApp.Services.Tests.Unit\bin\Debug\MyApp.Services.Tests.Unit.dll/testcontainer:D:\dev\MyApp\MyApp.WS .Tests.Unit \ bin \ Debug \ MyApp.WS.Tests.Unit.dll

Working folder: D: \ DEV \ MyApp

+2


a source to share


1 answer


I figured out the problem and it (of course) had nothing to do with NCover. The problem was that MSTest.exe could not find one of my test assemblies. This assembly was specified only in the config file and was not used in the code. When working in Visual Studio, this works. Failed to complete work outside of Visual Studio.



0


a source







All Articles