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
Solved

NCover and Nunit crashing when i try to run my tests

Posted on 2006-06-12
5
607 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

837 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