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...
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...
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!
...
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...
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...
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...
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...
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...
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...
What is the best way to do this? I want to get this working with nCover.
...
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 ...
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?
...
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!
...
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...
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...