Solved

NCover and Nunit crashing when i try to run my tests

Posted on 2006-06-12
5
608 Views
Last Modified: 2012-06-27
NCover and Nunit crashing when i try to run my tests.  I have Nunit 2.2 installed along with ncover 1.3.3. using framework 1.1.  When i run my test either ncover or nunit crashes, i think its ncover.  does anyone have any idead how to correct this or get more information on the problem.  One of the projects within the solution does allow me to run ncover and nunit but the others dont !

very strange and I have spend a week at this :(

Thanks in advance.

Andrew
0
Comment
Question by:andyuk
  • 2
  • 2
5 Comments
 

Author Comment

by:andyuk
ID: 16884176
------ Test started: Assembly: DalFactory.dll ------

NCover couldn't create a coverage report.

2 passed, 0 failed, 0 skipped, took 7.76 seconds.

test run okay :(
0
 
LVL 4

Accepted Solution

by:
fernandonajera earned 250 total points
ID: 16970102
You're using a very-old version of ncover. I'd recommend you to download the latest from http://ncover.org/ (and install .NET Framework 2.0 even if you're still programming for .NET Framework 1.1, as it is requiered by the tool). Just be sure to regsvr32 coverlib.dll and it should work.
0
 
LVL 4

Expert Comment

by:fernandonajera
ID: 17117609
I'm convinced my answer can help andyuk. If not, using his feedback I would answer again. But, I'm not sure if this deserves an accepted answer. I think my answer should have work at first, but I'm not sure and there is no feedback...
0
 

Author Comment

by:andyuk
ID: 17120379
Hi fernandonajera

sorry i have been snowed under with this nunit stuff then had a 2 week holiday to escape it.  I kept to you solution but added a few steps.  needed to install service pack 2 then the framework 2, afterwards installed all the nunit and ncover and surprisingly it all worked.  I was not to keen on service pack 2 going on my dev environment due to a release going out but i took the risk in the end. :)

Thanks for your help.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.Net creating Contact in Outlook 1 46
reading excel file in .net 2 30
SSIS GUID Variable 2 30
VB.net Filesystem watcher not working 5 31
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question