Failure in Net 4

Failure in Net 4

I have unit tests that work with NCover 3.4, Nunit 2.5.8 and Net 3/3.5.

The same unit tests block when the application is converted to Net 4.

By "block" I mean that the console runs and prints the following line

Process 'nunit-console-x86' [PID 1860] has finished profiling.

And then it just sits there never exiting until I kill the process. (When it works the is no pause at all.) Additionally it leaves the nunit console app running even once the ncover process as been killed.

I have found that using NUnit 2.5.9 works. However there is no problem running NUnit 2.5.8 itself with the unit tests. There is nothing odd about the code under test, nothing but C# and nothing extensive. I have several different projects and all exhibit the same behavior.

I am running on Windows 7.

My command line looks like the following

ncover.console.exe 
  "...\NUnit 2.5.9\bin\net-2.0\nunit-console-x86.exe" 
   "XXX.Test.dll"   /noshadow 


RE: Failure in Net 4

Thanks for this info, jjschell.

The issue you describe sounds like the one discussed in thread below, so I didn't think it was NCover-specific, but do you have this problem only when using NCover to start NUnit?

http://groups.google.com/group/nunit-discuss/browse_thread/thread/bbe6ae0607de58b4

Regards,

NCover Support


RE: Failure in Net 4

Thanks for this info, jjschell.

The issue you describe sounds like the one discussed in thread below, so I didn't think it was NCover-specific, but do you have this problem only when using NCover to start NUnit?

http://groups.google.com/group/nunit-discuss/browse_thread/thread/bbe6ae0607de58b4

Regards,

NCover Support