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.

0 byte coverage.info

See original GitHub issue

I’m trying to upload the coverage report to coveralls.io using GitHub Actions.

I’m using the coverallsapp/github-action action which supports the lcov report format.

I’m executing the folowing:

dotnet test ./NetFabric.Hyperlinq.UnitTests/NetFabric.Hyperlinq.UnitTests.csproj -f:netcoreapp3.0 -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=TestResults/ /p:ExcludeByAttribute="GeneratedCodeAttribute" /p:ExcludeByFile="../NetFabric.Hyperlinq.Interfaces/*.cs"

The unit tests project NetFabric.Hyperlinq.UnitTests uses xUnit to test the project NetFabric.Hyperlinq which references project NetFabric.Hyperlinq.Interfaces.

When I execute the command (in the terminal), the referenced project is included and the report has 0 bytes. Executing again the exact same command, the referenced project is not included and the report has 1MB. Executing again, I get the 0 bytes report…

The project can be found at https://github.com/NetFabric/NetFabric.Hyperlinq/pull/99

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
MarcoRossignolicommented, Jan 29, 2020

For collector is the same filter story!

1reaction
aalmadacommented, Jan 29, 2020

@MarcoRossignoli Thank you so much for going into all this trouble.

There’s no urgency. Today I won’t have time to test all your suggestions.

I’d love to try the collectors. It makes it so much simpler.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Insurance Coverage for Our Clear Teeth Aligners
Does your insurance cover teeth aligner treatment? We'll do the hard work and help you find out. Send us the details and we'll...
Read more >
Does Insurance Cover Teeth Aligners? Brand Comparisons
Byte is partnered with several insurance companies, including Aetna, Guardian, and Blue Cross Blue Shield Anthem. Even if your insurance is with ...
Read more >
Zero-byte file
A zero-byte file or zero-length file is a computer file containing no data; that is, it has a length or size of zero...
Read more >
Byte Protection Plan
The Byte Protection Plan™ provides additional coverage of your results. Get 5 years of retainers to maintain your smile, plus coverage for lost...
Read more >
5 Fixes How to Recover Files Showing 0 Byte
0 byte files recovery and fixes. Option 1: Recover zero byte files with Cocosenor Data Tuner ... All covered documents/folders are listed in...
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