Skip to content

Update code xUnit v3 code coverage documentation with example#5

Merged
bradwilson merged 1 commit intoxunit:mainfrom
LockTar:f/document-code-coverage-settings-parameter
Mar 12, 2026
Merged

Update code xUnit v3 code coverage documentation with example#5
bradwilson merged 1 commit intoxunit:mainfrom
LockTar:f/document-code-coverage-settings-parameter

Conversation

@LockTar
Copy link
Copy Markdown

@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
Copy Markdown
Author

LockTar commented Oct 1, 2025

@dotnet-policy-service agree

@bradwilson bradwilson merged commit 256e294 into xunit:main Mar 12, 2026
1 check passed
@bradwilson
Copy link
Copy Markdown
Member

Thanks!

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.

2 participants