Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 956239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:30:44+00:00 2026-05-16T00:30:44+00:00

Summary: I can run unit tests and code-coverage, but the report only includes NUnit

  • 0

Summary: I can run unit tests and code-coverage, but the report only includes NUnit classes, not my application classes.

I have successfully used PartCover in the past. Not so this time. I tried the latest PartCover (4.0), downgraded to the next latest (2.0), both with NUnit 2.5.6.

I created a simple .NET 4.0 class library (also tried this with a web application that has a project that’s a class library) with a single class in some namespace, and two test methods in another library in another class.

NUnit/PartCover installed correctly; I can run the NUnit tests both in NUnit, and through PartCover (I can see them running and saying “2 passed”), but the report only shows me NUnit namespaces. (Yes, I’m using +[] as my coverage rule.)

Any ideas? As much as I like NUnit, I’d like to see coverage for my own classes :o)

And I also tried aligning the test-DLL and code-DLL namespaces, to no avail.

Edit: I tried re-running my previously working code-covered sample from a year ago; all the tests run, but the actual project namespaces don’t appear. There’s a hint here, which seems to imply that it depends on the NUnit version you use: http://sourceforge.net/projects/partcover/forums/forum/605222/topic/3308367 (and yes, I already tried the appdomain-reporting checkbox)

I’ve tried NUnit 2.5.5.x and 2.5.6.x and both give me the same results.

Edit: It seems this fork of the official 4.0 version seems to work, albeit sporadically (google for PartCover fork, I can’t add more hyperlinks)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T00:30:44+00:00Added an answer on May 16, 2026 at 12:30 am

    Madness. Apparently, pressing Pause/Break on your keyboard after NUnit prints out the summary of total passed/failed, and waiting approximately one second for the second “CoreProfiler is turned off” message, makes it all work.

    Surely, this cannot be the real solution. Sure, I can rig up a batch file that’ll sleep ~1 second after executing NUnit, but this seems like a major hack.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

SUMMARY How can I make my GUI application run on windows startup on a
How can I write this code more cleanly/concisely? /// <summary> /// Creates a set
Problem Summary When run in batch mode, my user identity is lost but (like
I can run my application on 1.5, 1.6 and 2.0 emulator and on a
IN VS 2008 i can run .svc but on production IIS 7 i can't.
SUMMARY: I'm making a free that will only run for 3-5 months or more.
I have a stored procedure that is not only huge, but very memory intensive.
Summary Can you explain the reasoning behind the syntax for encapsulated anonymous functions in
Summary A parent can have many children. How do you write a service such
Where can I get a summary of differences between ActionScript 3.0 strict and standard

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.