- Run the following command:
dotnet test --collect:"XPlat Code Coverage;Format=opencover" --settings coverlet.runsettings
- Open
ExampleProject.Tests/TestResults/[GUID]/coverage.opencover.xml
- On Line 14, you can see
sequenceCoverage="0"
, but it should besequenceCoverage="100"
- Edit coverlet.runsettings and update change
SkipAutoProps
tofalse
- Run the command again and open the new results file
- You can now see that
sequenceCoverage="100"
-
Notifications
You must be signed in to change notification settings - Fork 0
jlawrence/coverlet-missing-line-example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Steps to reproduce for a bug report
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published