NCover not stopping

NCover not stopping

Hi,

I'm running NCover Explorer Complete v3.4.14.6908 and trying to view the coverage for a .NET 4 project under NUnit (2.5.8).

I can run the project no worries - it goes through and runs through all the unit tests without any problems. It tells me the test summary and then:

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

After this NCover just hangs.

When I look into Process Explorer I can see NCover.Explorer and NCover.Console are both there but neither of them are doing anything.

When I try to stop the console by Ctrl-C (or the Stop Coverage button) it says:

[NCover Explorer]: Attempting to stop NCover...
[NCover Explorer]: NCover stopped. Gathering coverage data...

And then continues to hang.

If I try to close NCover Explorer it tells me to Stop gathering coverage first, so the only way I can close it is to kill the process.

Any ideas on why this is happening and what I can do to get around it?

Craig


RE: NCover not stopping

Hi, Craig. I do know what's happening. NUnit 2.5.8. has a bug that prevents NUnit-Agent from starting (finishing) as a child process. Consequently, NCover doesn't know everything has finished because the agent says it's still running. If you switch to the new beta, 2.5.9., or to the last edition, 2.5.7., you should be good to go. Others have written in several times and all report to be up and running A-ok when downloading one of those two.

Thanks!


RE: NCover not stopping

Thanks,

I've upgraded and it is now working great :-)

Craig