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
2
votes
2 answers

asking for advice for code coverage and unit test

I am using VS2010 + C# + .Net 4.0. I want to do code coverage for unit tests. I have two choices after investigating, my question is, I want to know the pros and cons of such two tools/choices. Using non-VS built-in tools, like ncover; Using VSTS…
George2
  • 44,761
  • 110
  • 317
  • 455
2
votes
2 answers

NCover code coverage result for deliberately failing tests

I have a couple of unit test helper extension methods, such as, IsNotEmpty(this string str) for which I have also written unit tests. The basic structure of these tests is that I have one test that verifies that the extension method passes and…
Tomas Aschan
  • 58,548
  • 56
  • 243
  • 402
2
votes
2 answers

NCover 1.5.8 / NCoverExplorer 1.4.0.7 manual exclusions are very flaky

I haven't yet installed my license of NCover 3, and am still running 1.5.8 on my build server. I am trying to exclude full assemblies and specific classes that I don't want included in the report, because they are artificially lowering the coverage…
Dave
  • 14,618
  • 13
  • 91
  • 145
2
votes
1 answer

Running Fakes with 3rd party coverage tools

Is it possible to use Microsoft Fakes with 3rd party code-coverage tools such as NCover, PartCover or OpenCover? With Moles this was possible using the CLRMONITOR_EXTERNAL_PROFILERS environment variable but it doesn't work with Fakes so I was…
Shaun Wilde
  • 8,228
  • 4
  • 36
  • 56
2
votes
1 answer

New NCover 3.4.2 makes all my MSTest unit tests fail

Yesterday, I decided to install the newest NCover version (3.4.2). However, when I ran it on my existing .ncover configuration file, the NCover output suddenly reported that all my MSTest tests failed. Of course those tests succeed when ran within…
Steven
  • 166,672
  • 24
  • 332
  • 435
2
votes
2 answers

Issues integrating NCover with CC.NET, .NET framework 4.0 and MsTest

I'm implementing continuous integration with CruiseControl.NET, .NET 4.0, NCover and MsTest. On the build server I'm unable to run code coverage from the Ncover explorer or NCover console. When I run where vstesthost.exe from the Ncover console it…
2
votes
2 answers

ncover merge reports

we are using NCover from http://www.ncover.com/ For our application we have 6 different solution and we create report for each solution. In NCover explore there is MergeData option which I can use to merge all Coverage.xml. But I want some…
Miral
  • 5,968
  • 16
  • 57
  • 85
2
votes
0 answers

NCover (v3.4.18.6937) does not collect any coverage information when testing with Moles (v0.94) and MSTest (v10.0)

currently I am trying to get a code coverage with NCover for a MSTest assembly which uses Moles as Isolation framework. After hours of testing NCover does not gather any coverage information. I researched various stackoverflow posts regarding ncover…
1
vote
1 answer

Show Covering Tests for NCover

In NCover (For NUnit) it shows which parts of code are not getting hit by any of the tests. For code paths that is actually covered, is it possible to find out which tests actually hit them? NOTE : This is possible in dotCover by JetBrains.
Uchitha
  • 998
  • 8
  • 24
1
vote
1 answer

Code coverage in system tests

We've got automated coverage builds, but they only give us numbers for our unit tests. We've also got a bunch of system tests. This leaves us with two problems: some code looks uncovered even though it's used in the system tests (WCF endpoints, DB…
Roger Lipscombe
  • 89,048
  • 55
  • 235
  • 380
1
vote
2 answers

Excluding method from code coverage Ncover

I have some dll's for which i want to run code coverage using TestDriven.net (ncover) with vs2010. There are some methods which i don't want to be included in the coverage result since those methods are already written by some other programmer the…
Hemant Bhatt
  • 475
  • 1
  • 6
  • 24
1
vote
0 answers

Sample TFS 2010 Build Process Template for NCover

I have successfully integrated NUnit with TFS 2010 team build. I want to now run the code coverage for the build using NCover. Can you please provide me the sample build process template for TFS 2010 which I can use?
1
vote
1 answer

Getting NCover to work on .Net 4.0 Beta 1

I'm the author of Gallio which includes NCover integration so I was curious to see what NCover would do on .Net 4.0 Beta 1. I didn't expect it to work (it didn't). However I'm curious as to whether anyone could enlighten me as regards the error…
Jeff Brown
  • 1,178
  • 5
  • 8
1
vote
1 answer

Why is NCover branch coverage 50% even though branch evaluates to both true and false?

In this small piece of code: public event StabilityChangedHandler StabilityChanged; 267 private void RaiseStabilityChanged() { if (StabilityChanged != null) { 1 StabilityChanged(); } 275 } NCover…
whatsisname
  • 5,872
  • 2
  • 20
  • 27
1
vote
2 answers

.NET - determining which test cases covered a method

I want to know the tests that cover a particular method. However, NCover does not provide this information. I dont want to use VSTS as my code is not in TFS. Is there any way/tool to do that in .NET?
pink
  • 51
  • 3
1 2
3
9 10