Closed will-jj closed 2 years ago
Hey @will-jj, did you open an issue about this in the Coverlet repo? If so we should reference it here too. Also if they confirm this is just an issue with that library we can close this. Thanks! 🙂
Hi @Sergio0694, they have got back to me and without too much repetition: it is a known issue https://github.com/coverlet-coverage/coverlet/issues/1164
The proposed solution would be to suffix the generated files with .g.cs
rather than .cs
Thank you for linking that issue. I do believe this is technically external, but no harm in using ".g.cs" ourselves too 🙂
Thanks very much for making the change, I've updated my repo with the build from the PR & it is now providing coverage results.
Describe the bug
With a module containing code generated by the MVVM Toolkit coverage information from Coverlet will not be created.
Regression
No response
Steps to reproduce
Expected behavior
Expect to observe coverage information of all modules with tests.
Screenshots
No response
IDE and version
VS 2022
IDE version
17.1.3
Nuget packages
Nuget package version(s)
8.0.0-preview3
Additional context
Example repo with action running test here: https://github.com/will-jj/MVVM-Coverage
Coverlet log information here:
Help us help you
No, just wanted to report this