dotcover Questions

2

Solved

What is the correct way to call dotCover command runner passing it several filters? I've tried the following but it only excludes the first assembly: dotcover c /TargetExecutable="c:\Program File...
Geller asked 22/1, 2016 at 21:1

4

Solved

I am using JetBrains' dotCover for writing my units tests in a .NET application. dotCover highlights the whole code base either green or red based on the code coverage, but I want to remove the hi...
Basilius asked 29/4, 2015 at 15:13

1

I have a dotcover coverage report generated using dotcover.exe. I want to integrate the report in Jenkins and show the coverage. How can I generate a cobertura or openclover xml from it?
Ligetti asked 30/3, 2020 at 15:44

2

Solved

I'm starting to use dotCover. I have a set of Debug compiled dlls + their pdbs. Then I've created a test project and executed resharper on it to see the coverage. What I'm getting is the coverage o...
Maffick asked 22/4, 2013 at 10:15

1

I have installed JetBrains' DotCover and ReSharper installed in Visual Studio 2019. Unfortunatelly the DotCover code coverage seems to be not working. I have this sample class: using System; name...
Pennon asked 27/4, 2020 at 19:59

2

I'm running dotCover with NUnit3 to get coverage reports on our build server. We also need the detail output from NUnit to show the test results. Is there any way to get both the NUnit test detail ...
Holstein asked 8/8, 2017 at 10:58

2

Solved

I'm using dotCover to analyze code coverage of my unit tests, and I'm getting some strange results... I have an iterator method for which the coverage is not complete, but the statements that are n...
Scofield asked 12/8, 2012 at 0:40

7

Solved

I'm trying to integrate the sonar analysis into by TeamCity build process. I have a NUnit build step which runs my unit tests and then runs dotCover for the coverage. My next step is the sonar-run...
Saloma asked 1/11, 2012 at 4:2

3

Solved

How can I generate code coverage in .Net Core 2.0? I tried the following: "TestPlatform\vstest.console.exe" --collect:"Code Coverage" But I got this error message: Data collector 'Code Coverag...
Screens asked 5/9, 2017 at 14:34

1

As the title says in some classes there's an own coverage line included as example: What does this mean?
Responsory asked 23/5, 2018 at 8:16

3

Solved

I am just starting with code coverage tools (primarily in C#). So far I have tested out NCrunch and DotCover. They both seem to do a good job with branch and function coverage, but I can't t...
Galata asked 10/4, 2014 at 18:12

1

Solved

I generate a coverage report using dotCover.exe from the command line, but it randomly fails with this error: [JetBrains dotCover] Coverage session finished with errors: Out of allowed iteration t...
Bronchopneumonia asked 27/6, 2017 at 15:14

2

Solved

Let me start by saying I'm new to both ReSharper and dotCover and that I'm using v10.0.2 of both. The attached screenshot shows solution explorer in VS and the coverage tree for a set of tests. W...
October asked 22/1, 2016 at 17:1

9

Solved

For some reason I can't open the test explorer window in Visual Studio 2012. I click Test->Windows->Test Explorer and nothing happens... This problem may have been caused by recently uninstalling ...

1

How to integrate dotcover and Jenkis. Any PDF or Guide? I was able to run the dot cover through command line and it generate test results. However when I try to run in Jenkins through windows bat...

2

Solved

I have a simple class library that gets tested with MSTest using VS 2010. I installed the trial version of dotCover 1.2. with no ReSharper installed. VS only has the menu items "Cover Startup Pro...
Fan asked 21/4, 2012 at 18:27

1

I have been struggling with this issue. I have been able to generate the HTML reports with the help of DotCover. Also, I have given the path of the reports in the Sonar Portal too under Project Set...
Patter asked 3/11, 2014 at 10:44

2

Solved

Anyone knows the syntax for excluding code from coverage in Teamcity? I am using the ExcludeFromCodeCoverageAttribute on certain methods and want those excluded. It works well in Visual Studio but ...
Hillie asked 18/9, 2012 at 18:26

1

I want to run NUnit on TeamCity and generate report with dotCover. But for some reasons I cannot get the coverage report for all my project assemblies. TeamCity config as below Teamcity: 6.5.3 N...
Styracaceous asked 21/10, 2014 at 10:1

4

Solved

I try to run dotCover with my NUnit tests, in the TeamCity 8 as a build step. But no metter what I try I always get the same error in the log file: Step 4/4: Coverage (NUnit) (1s) [Step 4/4] St...
Agma asked 1/5, 2013 at 14:44

2

Solved

I suspect the answer is no, but I'll ask anyway... TL;DR I know I can exclude a class or method from coverage analysis with the [ExcludeFromCodeCoverage] attribute, but is there a way to exclude ...
Oireachtas asked 8/6, 2014 at 2:3

1

I'm trying to more accurately reflect code coverage in a project I am working on but have run into a problem when it comes to Entity Framework generated classes. I'd like to exclude the constructor...
Psalms asked 25/10, 2013 at 20:57

10

Solved

I have a bunch of assemblies with near 100% test coverage but I often run into a situation like in the example below. I cannot test the default switch case, which is there to guard against future b...
Smoothspoken asked 26/6, 2013 at 15:21

2

Solved

What is considered 100% when I invoke dotCover from an MSTest build step in TeamCity? Is 100% all of the compiled code? Is it all the code for all the assemblies which the tests have touched? Is it...
Improvvisatore asked 16/11, 2012 at 8:14

1

Solved

I am using Team City 7.1.1 (build 24074), and I would like to exclude some namespaces in code coverage. I am using dotcover as code coverage tool. I am using MSPec, Machine.Fakes and Rhino Mocks i...
Bushcraft asked 4/10, 2012 at 14:48

© 2022 - 2024 — McMap. All rights reserved.