Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverlet.collector produces empty report when BuilGenerator is referenced #1464

Closed
jvmlet opened this issue Mar 28, 2023 · 3 comments
Closed

Comments

@jvmlet
Copy link

jvmlet commented Mar 28, 2023

coverlet.collector produces empty report when BuilGenerator is referenced (MelGrubb/BuilderGenerator#22)

@petli
Copy link
Collaborator

petli commented Mar 28, 2023

BuilGenerator probably doesn't use one of the formats for indicating generated sourcefiles (best one is ending in .g.cs rather than just .cs), which triggers a heuristic in Coverlet that tries to identify third-party libraries that are not relevant to instrument.

Can you try the nightly build? A change in this heuristic has been implemented but not yet released (see #1164 for details):
https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/ConsumeNightlyBuild.md

@jvmlet
Copy link
Author

jvmlet commented Mar 28, 2023

@petli , thanks for quick response, yes , with 6.0.0-preview.7.gd93613826b I'm getting the expected coverage

@daveMueller
Copy link
Collaborator

I'm closing this as it seems to be resolved in the upcoming version. Feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants