Questions tagged [partcover]

PartCover is an open source code coverage tool for .NET

PartCover is an open source code coverage tool for .NET. It was originally hosted on sourceforge but all development has since moved on to GitHub. It now supports .NET 4 but is only being maintained as all future development effort is being put into OpenCover.

43 questions
2
votes
1 answer

OpenCover & ReportGenerator : How to generate one html report from xml file

I have generated xml file using OpenCover. And used below command to generate html report, "C:\ReportGenerator_2.1.4.0\bin\ReportGenerator.exe" -reports:"Reports\Test.xml" -targetdir:"Reports" It generated multiple html reports under 'Reports'…
magg
  • 119
  • 1
  • 3
  • 11
2
votes
3 answers

PartCover 2.5.3 win 7 x64

Could you tell me how you got PartCover running with VS2008 and win 7 x64? Based on this post How do I run PartCover in x64 windows, I ran c:\Program Files (x86)\Gubka Bob\PartCover .NET 2.3>CorFlags.exe PartCover.exe /32BIT+ /Force with result…
gapo
  • 505
  • 1
  • 7
  • 19
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
2 answers

Is there CI server software that can do all of this?

I'm trying to put together a Continuous Integration server that will do the following: Work with subversion Use NUnit tests (fail build on failed tests) Use partcover (fail build on < X% coverage) Run code against FxCop (fail build on FxCop…
Steven Evers
  • 16,649
  • 19
  • 79
  • 126
2
votes
1 answer

Getting Partcover and Gallio to work on the command line error, report is Empty?

I have gotten PartCover 2.3 and Gallio 3.1 to work through the Partcover coverage browser. When I try rerunning the command on the command line I am getting a CorProfiler is turned off, and then the report is empty? I am running from Admin shell. I…
user154366
  • 581
  • 2
  • 5
  • 19
2
votes
1 answer

CorfFlags warning CF011 about strong name signed even after /force

Im trying to use Corflags to get PartCover running under x64. When I use: CorFlags.exe PartCover.exe /32BIT+ /Force i get: corflags : warning CF011 : The specified file is strong name signed. Using /Force will invalidate the signature of this image…
bosko
  • 25
  • 1
  • 7
1
vote
2 answers

PartCover with TeamCity

I'm trying to setup partcover for .net 4 on x64 machine with TeamCity. Tests are executed, but coverage report shows 0 coverage. I'm getting the following message in log: No executable code was detected. The issue could be caused by one of the…
Sly
  • 15,046
  • 12
  • 60
  • 89
1
vote
1 answer

No results from Partcover with MSTest

I am trying to get to grips with Partcover for possible integration with a build machine. I am running Partcover in the command line with the following command: PartCover.exe --settings settings.xml --output results.xml My settings.xml was…
Jack
  • 2,153
  • 5
  • 28
  • 43
1
vote
1 answer

Have PartCover include an assembly with "System" in name

I am trying to use the PartCover (v.2.3.0.36319) to measure code coverage on assemblies from unit tests run in MSTest. I can get successful reports on all assemblies except one named SystemLogger. Ive tried these…
R.B.
  • 11
  • 2
1
vote
1 answer

Why is it such an effort to setup code coverage in TeamCity?

I'm using Teamcity 6.0 and want to add code coverage to our NUnit tests. PartCover has been a massive issue due to it not running on x64 server and so now I have to go and git it and build it myself :( Also, jetBrains, if you know the xslt is…
Michael Blake
  • 2,068
  • 2
  • 18
  • 31
1
vote
0 answers

Code coverage results are not available in TeamCity

I am using TeamCity 7.1 with MsBuild build step running the following task:
0
votes
1 answer

Sonar C# plugin don't take into account 100% covered files

we use the following suite to analyse our .Net4 project: Maven 2.2.1 Gallio 3.2.750 PartCover 4.0.20626 Sonar 2.9 Sonar C# Plugins Ecosystem 1.0 When we open the coverage report file (build with Maven/Gallio/Partcover) in PartCover Explorer we…
0
votes
2 answers

Getting PartCover.Browser.exe to show a coverage xml through command line

Need help with a silly question. How do I get PartCover.Browser.exe to load and show an existing coverage xml generated by PartCover.exe? I have a batch file that runs PartCover.exe and my tests and generates the coverage xml without problems. Then…
Fung
  • 7,530
  • 7
  • 53
  • 68
0
votes
1 answer

Method exclusion in PartCover

I am trying to modify the PartCover source code to exclude coverage by method. However,it looks like the main logic is in the c++ code. Since it is not possible to step into the cpp code while debugging,can someone please guide me as to which files…
Deedee123
  • 11
  • 4
0
votes
1 answer

Partcover: Exclude multiple namespaces via commandline

I'm using Partcover to generate code coverage statistic and want to exclude multiple namespaces using commandline parameter --exclude. I can't manage to specify multiple namespaces to be excluded, could anyone suggest how to do it? Obviously single…
sll
  • 61,540
  • 22
  • 104
  • 156