Questions tagged [ncover]

`NCover` is the original `.NET` code coverage tool. Code coverage is a software testing metric that shows which lines of source code have been tested and which lines of source code have been missed.

INDUSTRY-LEADING CODE COVERAGE ENGINE

NCover is the original .NET code coverage tool. Code coverage is a software testing metric that shows which lines of source code have been tested and which lines of source code have been missed. This insight allows you to improve both your testing and your code with the goal of ultimately increasing revenue and reducing costs. By providing sequence point, branch, and method coverage, NCover leads the industry in metrics provided and helps you and your entire team make the best use of time and resources.

32 & 64-BIT SUPPORT

NCover supports both 32 and 64 bit systems, so no matter what your machine configuration, NCover can support you and your team. On 64-bit systems, NCover takes advantage of the increased processing power and memory utilization to provide a best-in-class code coverage experience.

BUNDLED SUPPORT

Every purchase of NCover comes with a full year of technical support and access to product updates and upgrades. As an organization, we are fundamentally committed to making sure that you and your team get the most out of NCover and that it works as promised. Whether you prefer to receive assistance via e-mail, online interactive sessions or even by phone, we have you covered. We also fully support all NCover trial customers, so you can experience what it means to be an NCover customer prior to purchasing.

DOCUMENTATION

If you have a question, or are in the process of determining the best way to integrate NCover into your code coverage process, we have robust documentation on all NCover applications. Documentation can be accessed online and, for Code Central, Desktop and Collector, can also be accessed within the NCover application without the need for an Internet connection. Our online documentation is available to trial customers or anyone who wants to learn more about NCover.

OPTIMIZED MEMORY CONSUMPTION

While NCover is more powerful than ever, it is designed to reduce overall memory consumption. Through a series of memory, cache and data structure optimizations, NCover can handle large projects without the traditional memory bottlenecks associated with code coverage solutions. In addition, the ability to easily manage multiple projects and consolidate execution runs gives you control over the level of system resources required to effectively manage your code base.

AUTO UPGRADE & UPDATE

Whenever there is an upgrade or update for NCover, you will always be the first to know. For Code Central, Desktop and Collector, you will see a small yellow badge located in the top left corner of the application. Simply click on the badge and select that you would like to install the upgrade or update. The installer will automatically take care of the rest. For Bolt, you will be alerted and can manage upgrades and updates with Visual Studio's Gallery Update function. Every purchase of NCover comes with a full year subscription to upgrades and updates.

137 questions
81
votes
22 answers

HRESULT: 0x80131040: The located assembly's manifest definition does not match the assembly reference

The located assembly's manifest definition does not match the assembly reference getting this when running nunit through ncover. Any idea?
chethan
23
votes
4 answers

Use attribute to omit code from coverage analysis in Visual Studio

I have some classes that, for one reason or another, cannot be or need not be unit tested. I'd like to exclude these classes from my coverage metrics so that I can get a better feel for the coverage on the classes I actually care about. Right now…
tvanfosson
  • 524,688
  • 99
  • 697
  • 795
19
votes
2 answers

Force NCover 1.5.8 to use v4 framework like testdriven.net does?

I want to run coverage from the command line, but can't seem to get NCover 1.5.8 to instrument the code. It must be possible as when I run coverage tests with TestDriven.net it works. the difference seems to be that TD.NET is able to get NCover to…
Sam Holder
  • 32,535
  • 13
  • 101
  • 181
13
votes
4 answers

Is there a free code coverage tool suitable for use with .NET 4 and NUnit?

Is there a free code coverage tool suitable for use with .NET 4 and NUnit that runs from the command line (and is thus suitable for use on a build server)? Please note that any tools that require editions of Visual Studio higher than Professional…
Damian Powell
  • 8,655
  • 7
  • 48
  • 58
12
votes
9 answers

How to discover which test unit checks which lines of code?

I was fooling around the NUint, hoping to discover a way to realize which line of code passes in which test. Imagine I have a method for which I have 3 tests. Is there any way to find out which test checks which line of code? Having used NCover, I…
Javid_p84
  • 848
  • 2
  • 12
  • 26
11
votes
1 answer

Resharper 9.0 says 'No tests found in selected solution items.' Yet there are over 100 tests

Resharper 9.0 says 'No tests found in selected solution items.' Yet there are over 100 tests. I right click my solution in Visual Studio 2013 and click the "Run Unit Tests" option near the bottom of the context menu. I get the error message: "No…
Curtis
  • 5,794
  • 8
  • 50
  • 77
11
votes
3 answers

Where to get NCover from?

I realise NCover has gone commercial. I am looking for the free version. Where do i get the latest free version of NCover? The NCover website only talks about a trial version of the commercial product, not the free version.
Try
9
votes
4 answers

TestDriven.net with Gallio, MbUnit and NCover problems

Why doesnt TestDriven.Net work with my gallio/mbunit tests? I've used TDD.Net with MbUnit v2 and not had any problems, but with the new gallio release on my new pc, it does nothing. From the tdd right click menu in solution explorer, if i do "test…
Andrew Bullock
  • 36,616
  • 34
  • 155
  • 231
9
votes
2 answers

NAnt: executing NCover as administrator account - runas returns directly without waiting

My NAnt build runs as a non-admin as part of CruiseControl. But we have an NCover task which needs to run as an Administrator. For this we are thinking about using RunAs with an admin account. The problem is that RunAs returns directly and doesn't…
8
votes
2 answers

Code Coverage and Blame

Has anyone seen a tool that will integrate code coverage results with SCM/VCS to attribute untested lines of code to developers? For example, is there a tool that will take NCover's Coverage.Xml, combine it with SVN blame, and produce a report that…
kͩeͣmͮpͥ ͩ
  • 7,783
  • 26
  • 40
7
votes
1 answer

ExcludeFromCodeCoverage Exclude Auto-Generated Code

Is there a way to mark an auto-generated class as ExcludeFromCodeCoverage. I am using that attribute in other areas and works great. But if you open the code of the auto-generated guy and mark the classes as ExcludeFromCodeCoverage, once you…
Adam
  • 3,615
  • 6
  • 32
  • 51
6
votes
4 answers

Should I Use a Code Coverage Tool?

I'm interested in using a code coverage tool for my next .NET project but was wondering if it is necessary for me? I'm the only developer in the company I work for, so would using NCover be a benefit to me or is it just for large teams using…
CalebHC
  • 4,998
  • 3
  • 36
  • 42
5
votes
4 answers

Should code coverage be executed EVERY build?

I'm a huge fan of Brownfield Application Development. A great book no doubt and I'd recommend it to all devs out there. I'm here because I got to the point in the book about code coverage. At my new shop, we're using Team City for automated…
A-Dubb
  • 1,670
  • 2
  • 17
  • 22
5
votes
6 answers

NCover on 64-bit system

What do you suggest to use for code coverage on 64-bit environment. It seems that NCover supports 64-bit only in Enterprise version which seems to be quite expensive. Or isn't it? What are people using on 64-bit systems for .NET code coverage? EDIT:…
David Pokluda
  • 10,693
  • 5
  • 28
  • 26
5
votes
3 answers

What .Net coverage tools support "condition coverage"?

I am just starting with code coverage tools (primarily in C#). So far I have tested out NCrunch and DotCover. They both seem to do a good job with branch and function coverage, but I can't tell for sure if they're doing conditional coverage. For…
Joe
  • 776
  • 7
  • 20
1
2 3
9 10