ncover

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 are not appropriate in this case. I am asking this question because I can't get NCover 1.5...

How to get NUnit information into CruiseControl.Net 1.5 after NCover has run NUnit?

Hi all, I've installed NCover 3.4 on my CruiseControl 1.5 and after some tinking, I've got the coverage reports shown in my cleanly installed CC. I can't see the test results however (and never could after installing CC Net 1.5, as I recall 1.4 it 'just worked'). How do I get the unit test results from NCover displayed in CC.net? (NUn...

how to use NCover (free) in maven builds

Just an inquiry on how to integrated NCover (free) in .Net project (maven build) I looked at hudson but I guess I can't use it in maven. Thanks! ...

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 results. In NCoverExplorer, I was playing around with the options because there is a cov...

nCover + MSTest + CruiseControl = Zero Coverage

Hi, I use CruiseControl.net, MSTest 3.5 and nCover 1.5.8. I am new to nCover and want to integrate it in CruiseControl. The problem is that I get a 0% coverage result but it should be 100%. My demo app calls just one method and in my mstest project this method is tested. in my cruiseControl server all works fine without ncover and i ca...

NCover coverage widley differnt from UAT build to a Live build

Using TeamCity running an MsBuild task for an MVC2 C# application, we successfully run 1561 XUNit tests in both the UAT and the Live builds but the NCover coverage falls from 51% on the UAT build to 35% on the live build. The soulution has identical configuration manager settings. As our minimum covergae is less than 50% our build subse...

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

Hi, 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 wait for the process to exit. Is there a way to block the NAnt build until NCover ha...

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 returns the expected result on a "good" input, and one that verifies that a fail exception is t...

How can I specify a large number of files for an NCOVER merge operation?

I have a large acceptance test suite that runs the source application many thousands of times, creating an NCOVER report for each run. After each test, it merges the generated code coverage report into a large "master" coverage report for the whole application. My worry here is that I'm running into a Shlemiel the Painter problem, as th...

Run a silverlight unit test inside of nunit-console.exe

What is the best way to do this? I want to get this working with nCover. ...

nCover With many class libraries

So I have my project and it is set up like this: MyProject MyProject.Module1 MyProject.Module1.Tests MyProject.Module2 MyProject.Module2.Tests What I want is the code coverage number for the entire project. I am using nCover... what is the best way to do this? For example would I have to rearrange the project and have everything put ...

Testdriven.net NCover integration: Excluding methods from Coverage Reports

I am using Testdriven.net to run NCover on my assemblies. However, I need to exclude certain methods from the coverage report. How can I do this? ...

how to use NCover in console/command line?

hi, i've downloaded a free version of ncover here -> http://sourceforge.net/projects/ncover/ but unortunately i am unable to find steps on how to use it in the command line. any help would be great, thanks! ...

NCover 1.5.8 does generate coverate report

I run NCoverExploler, configure it, so command line look like this "D:\Development\Projects\t.net\lib\NCover\NCover.Console.exe" //reg //w "D:\Development\Projects\t.net\build_output\t.net" //v "D:\Development\Projects\t.net\lib\NUnit\nunit-console.exe" t.Core.Tests.dll /framework=4.0 Output coverage.xml appears to be empty. In the sa...

NCover with a C++/CLI assembly

Does anybody know how to do coverage of an C++/CLI class using NCover? NCover only measures coverage of an assembly if it finds a matching .pdb file. However, my C++/CLI project does not output a .pdb file. If I go to "Visual Studio -> Configuration Properties -> C/C++ -> Output Files -> Program Database File Name" and set it to "MyD...