Skip to content

Conversation

@LockTar
Copy link

@LockTar LockTar commented Oct 1, 2025

This pull request updates the documentation to clarify how to use the --coverage-settings option when running tests with code coverage. It adds a helpful note explaining that the path to the .runsettings file can be relative or absolute, and provides an example command for both dotnet run and dotnet test.

Reason why I created this pull request is that I had trouble to figure out that the path is relatively from the test project and not the location from where your running in example dotnet test.

This pull request updates the documentation to clarify how to use the --coverage-settings option when running tests with code coverage. It adds a helpful note explaining that the path to the .runsettings file can be relative or absolute, and provides an example command for both dotnet run and dotnet test.
@LockTar
Copy link
Author

LockTar commented Oct 1, 2025

@dotnet-policy-service agree

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

Successfully merging this pull request may close these issues.

1 participant