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
5
votes
1 answer

TeamCity MSBuild Gallio NCover Reporting

I'm a complete build system newbie through and through. I've been playing with this for about two weeks on and off now and I just can't crack it, I think I've reached a point where I need a fresh pair of eyes. Ultimately I'm aiming for having a…
Jammer
  • 9,969
  • 11
  • 68
  • 115
4
votes
6 answers

Is there a way to determine code coverage without running the code?

I am not asking the static code analysis which is provided by StyleCop or Fxcop. Both are having different purpose and it serves well. I am asking whether is there a way to find the code coverage of your user control or sub module? For ex, you have…
sankar
  • 1,724
  • 1
  • 22
  • 37
4
votes
1 answer

Code Coverage for Mono?

mono creates its own debug targets called .mdb files when you use the mcs compiler. is there a way of using NCover or another code coverage tool with Mono? a commandline tool would be better so I can add it to our continuous integration server.
Scott Cowan
  • 2,652
  • 7
  • 29
  • 45
4
votes
2 answers

NCover: Exclude unexecutable line of code from coverage

The switch statement in following code has a default clause that is required by the compiler and a nice safeguard, but which is never executed. After writing tests for everything else, there is no way I can (or should) test that one line. I don't…
Daniel A.A. Pelsmaeker
  • 47,471
  • 20
  • 111
  • 157
3
votes
3 answers

Running NUnit via NCover with NANT

My unit tests are being executed and reports written, however the coverage reports are empty. This is the Nant task I'm using:
MalcomTucker
  • 7,407
  • 14
  • 72
  • 93
3
votes
2 answers

Getting TeamCity to run NUnit tests, with both NCover and TypeMock integrated?

Basically I'd like to use the NUnit plugin for TeamCity (the program, not necessarily the specific build step using it) to run my unit tests, with NCover for code coverage, and since my unit tests uses TypeMock 6, I need that too working. So far…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
3
votes
3 answers

ncover with nunit2 task in NAnt

Is there any chance to get this work? I want my tests to be run by nunit2 task in NAnt. In addition I want to run NCover without running tests again.
rafek
  • 5,464
  • 13
  • 58
  • 72
3
votes
0 answers

dotCover Nunit over command line

I'm trying to run dotCover over command line. It's working fine with VisualStudio2010 but its not working over command line. I get the error: "Either assembly contains no tests or proper test driver has not been found." enter image description…
Lino556
  • 133
  • 1
  • 9
3
votes
1 answer

NCover Nunit CruiseControl.NET Task with NCover Addin

Can someone provide me a sample for a ncover task for a nunit dll?
Jane
3
votes
2 answers

Setting up NCover for NUnit in FinalBuilder

Solved: Look at the bottom of this question for the working configuration I am attempting to set up NCover for usage in my FinalBuilder project, for a .NET 4.0 C# project, but my final coverage output file contains no coverage data. I am…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
3
votes
0 answers

NCover vs OpenCover Accuracy

I have been recently comparing .NET test coverage tools NCover and OpenCover. It seems that NCover reports higher code coverage percentage than OpenCover. Has anyone done any Proof of Concept to determine which tool has greater accuracy in code…
MikeJPR
  • 764
  • 3
  • 14
3
votes
1 answer

How to calculate code coverage with NCover using Jenkins?

I am working with a windows application in c#. Using Jenkins, i created a job that will do the following tasks. 1.Build the application using msbuild 2.Tests Unit Test Cases using nunit-console.exe 3.Calculate Code coverage using NCover.…
Sumeshk
  • 1,980
  • 20
  • 33
3
votes
1 answer

Gallio and MbUnit in NAnt

I am trying to use Gallio (v3.1)/MbUnit/NCover to run a unit test in my C# code, as part of the build process for my continuous integration system. I can get Gallio.Echo.exe to execute the tests and output an XML file (albeit it does seem to be…
Brett Rigby
  • 6,101
  • 10
  • 46
  • 76
3
votes
1 answer

transform opencover xml output to ncover xml

I need the ability to import opencover coverage results in to Jenkins to pull coverage trending data over time. It appears that the best way to do this is going to be finding a way to convert the opencover xml format to ncover format, and then use…
user561818
  • 33
  • 1
  • 5
3
votes
1 answer

Issue running code coverage with dotCover in release mode

Has anyone successfully run coverage reporting using dotCover (and ideally TeamCity) while targeting release mode in the application? Here's the error message I received (this configuration works in debug mode): Generate dotCover report…
Danny Douglass
  • 390
  • 1
  • 11
1
2
3
9 10