Solved

NCover and Nunit crashing when i try to run my tests

Posted on 2006-06-12
5
611 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

707 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