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.

MergeWith does not respect framework suffix in output file

See original GitHub issue

I’m testing two binaries in my pipeline with the following (truncated) options:

dotnet test -p:CollectCoverage=true -p:CoverletOutput="../coverage.json"
dotnet test -p:CollectCoverage=true -p:MergeWith="../coverage.netcoreapp3.1.json" -p:CoverletOutput="../opencover.xml"

This produces an intermediate coverage file coverage.netcoreapp3.1.json and a final report opencover.netcoreapp3.1.json

Omitting netcoreapp3.1 in the MergeWith option value leads to a result which is not merged.

My expectation would be that the output files are either produced with the framework suffix and that the MergeWith option would respect this suffix (requiring only coverage.json as input to function properly), or that (ideally) the framework suffix is not added at all.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jpdillinghamcommented, Jul 12, 2020

Thanks, changing both .csproj files to use TargetFramework instead of TargetFrameworks corrected the issue. This must have been an artifact of the upgrade from 2.1 to 3.1.

0reactions
MarcoRossignolicommented, Jul 11, 2020

Feel free to close of solved!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios/rules.gni - chromium/src/build/config
# Template to package a shared library into an iOS framework bundle. #. # By default, the bundle target this template generates does...
Read more >
Mono (reactor-core 3.5.9)
A Reactive Streams Publisher with basic rx operators that emits at most one item via the onNext signal then terminates with an onComplete...
Read more >
Bug listing with status RESOLVED with resolution TEST- ...
Bug:233 - "Emacs segfaults when merged through the sandbox." status:RESOLVED resolution:TEST-REQUEST severity:critical · Bug:3888 - "yenta_socket module not ...
Read more >
4. Local I/O - Clojure Cookbook [Book]
There are a couple of caveats here. Firstly, although the row ordering of the output file will match that of the input, the...
Read more >
Feature Reinforcement Learning using Looping Suffix Trees
Definition 4 A history is said to be consistent with respect to a partic- ular looping suffix tree if it can be mapped...
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