question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compute full coverage from partial results

See original GitHub issue

Hey everyone,

In my current setup, we run dotnet test for individual DLLs (we parallelize test execution that way). Is there a way to pick up partial coverage results from running tests for a single DLL and compute full coverage from each of the smaller ones?

Thank you, Sérgio

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

2reactions
MarcoRossignolicommented, Sep 8, 2020

Hi @sergiusignacius if you’re using msbuild integration you can use MergeWith https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/Examples/MSBuild/MergeWith/HowTo.md Other coverlet drivers like .NET tool and collectors doesn’t have this feat yet. As @Happypig375(thanks a lot for the help!) said you can also use other tools like ReportGenerator.

2reactions
Happypig375commented, Sep 8, 2020

You can use https://github.com/danielpalme/ReportGenerator which can combine several test result files into one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio 2010 Code Coverage on Partial Classes
I am using Visual Stdio 2010 and its testing and code coverage features, and I have a bunch of generated code that I...
Read more >
Code coverage testing - Visual Studio (Windows)
If some but not all code blocks in the line are exercised, it is counted as a partial line. Filter code coverage results....
Read more >
GC and Other Methods for Full and Partial Context Coverage
This paper focuses on the problems of full and partial context coverage: finding a minimal subset of formal concepts that covers the relations...
Read more >
Read the coverage report | IntelliJ IDEA Documentation
Explore the code coverage in your projects by using IntelliJ IDEA. ... Code coverage results are displayed in the Coverage tool window, ...
Read more >
Configuring Test Coverage
OverviewThe Code Climate test coverage reporter takes a supported test coverage ... Configure your CI to store partial results from each parallel run....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found