-
Notifications
You must be signed in to change notification settings - Fork 388
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
Module ignored/skipped if EntityFramework enum with default value is used in method #469
Comments
Can you try with last version 1.5.2 https://www.nuget.org/packages/coverlet.console/? |
Updated my dotnet version to
The issue looks related to #21. |
@harvzor I found the issue...at the moment Cecil resolver does not search on "nuget package" cache.
So
No coverlet correctly tell you that coverage file for Let me know if we can close this. |
Thanks I can confirm that adding harvzor/coverlet-enum-test@64e6d2b Thanks for the extra advice too! |
I made a repo showing the error: https://github.com/Harvzor/coverlet-enum-test
How to reproduce:
dotnet build
coverlet ./Tests/bin/Debug/netcoreapp2.1/Tests.dll --target "dotnet" --targetargs "test ./Tests/Tests.csproj --no-build" --format opencover
Expected output:
Actual output:
In the actual input, there's no module! No warnings are shown.
The issue appears because of this code:
If the
entityState
var does not have a default value, then everything works as expected:Versions
coverlet: 1.4.1.0
dotnet: 2.1.505
The text was updated successfully, but these errors were encountered: