-
Notifications
You must be signed in to change notification settings - Fork 387
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
Issues with NUnit #449
Comments
Can you try this #347? |
Ok, please can you try last version with verbose logging to understand what's happen? https://github.com/tonerdo/coverlet/blob/master/Documentation/Troubleshooting.md#msbuild-integration |
To debug with msbuildlog, I swicthed back to 2.6.1 and it works now even without No clue what's different. I still have the following warning: warning : [coverlet] Hits file: '[...]' not found for module: 'Utils' |
Yes we rounded percentages #397 You could try our nightly build to understand if it's fixed https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.msbuild/2.6.1-g0dd56242f2 (Wed, 29 May 2019 00:03:09 GMT) |
You can fix verbosity with |
Feel free to close this issue if your issue is resolved. |
Ah for 0% coverage is possible you hit a know transient bug #110 we'll resolve ASAP with new collector features https://github.com/tonerdo/coverlet/blob/master/Documentation/VSTestIntegration.md (near to release). |
I will check the Nightly on Monday. |
Sure let us know! |
@boldt we released new version https://www.nuget.org/packages/coverlet.msbuild/ let me know. |
The warning is gone with 2.6.2. Thanks. |
Without this causes a FileLoadException. Looks to be related to coverlet-coverage/coverlet#449
I cannot get coverlet running. I added via NuGet:
I ran my build and test as follows:
dotnet build dotnet test --no-build /p:CollectCoverage=true
I'm getting the "strong name" issue, see #338 (partly German log):
In #338. two workarounds are desribed:
a) Downgrade to 2.4.0
b) Add
/p:Exclude="[xunit.*]*"
Workaround a) Downgrade to 2.4.0
When I downgrade, i get the following error:
Workaround b) Add
/p:Exclude="[xunit.*]*"
When I add
/p:Exclude="[xunit.*]*"
, I see some of the following warnings:Additionally, I see a coverage report with 0%.
Install coverlet globally
It shows again
warning : [coverlet] Hits file: '[...]' not found for module: 'Utils'
Conclusion
I cannot get coverlet work. Any idea is appreciated.
The text was updated successfully, but these errors were encountered: