Solved

NCover and Nunit crashing when i try to run my tests

Posted on 2006-06-12
5
603 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
Comment Utility
------ 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now