Solved

NCover and Nunit crashing when i try to run my tests

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

738 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