-
Notifications
You must be signed in to change notification settings - Fork 6k
Replace dotnet.config with global.json in dotnet test #48295
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
base: main
Are you sure you want to change the base?
Replace dotnet.config with global.json in dotnet test #48295
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but blocking merge until dotnet/sdk#50673 is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mariam-abdulla Please make sure to update the other pages that mention dotnet.config.
- docs/core/whats-new/dotnet-10/sdk.md
- docs/core/testing/unit-testing-with-dotnet-test.md
PR updated |
```ini | ||
[dotnet.test.runner] | ||
name = "Microsoft.Testing.Platform" | ||
To enable this mode, add the following configuration to your `global.json` file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other PR is merged.
One small question. Should we actually briefly mention that during early previews and RC1 this was using dotnet.config, which we dropped in favor of global.json in RC2?
I want to avoid confusion when people are trying to use RC1 (because RC2 isn't released yet).
@gewarren Is there generally some policy docs follow when there is a breaking change between RC1 and RC2 when RC2 isn't yet released?
Co-authored-by: Youssef Victor <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but needs an answer on the open question, as this is a breaking change between RC1 (released already) and RC2 (not yet released).
This pull request updates the documentation for the
dotnet test
command to clarify how to enable the Microsoft Testing Platform (MTP) test runner. The instructions now referenceglobal.json
instead of the deprecateddotnet.config
, and the example configurations have been updated accordingly.Documentation updates for test runner configuration:
global.json
file, rather than using adotnet.config
file.dotnet.config
to JSON-styleglobal.json
format.global.json
instead ofdotnet.config
.Internal previews