-
Notifications
You must be signed in to change notification settings - Fork 668
Add dotnet.config to specify MTP for dotnet test #10836
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?
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.
Pull Request Overview
This PR adds a dotnet.config
file to configure Microsoft.Testing.Platform (MTP) as the default test runner for dotnet test
commands, eliminating the need for the --
separator in test command arguments.
- Adds
dotnet.config
to specify MTP as the test runner - Updates test command syntax by removing
--
separators from various configuration files - Updates documentation to reflect the new command syntax without
--
separators
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
dotnet.config | New configuration file specifying Microsoft.Testing.Platform as the test runner |
tests/helix/send-to-helix-buildonhelixtests.targets | Removes -- separator from test command arguments |
.github/workflows/run-tests.yml | Removes -- separator from GitHub workflow test commands |
.github/copilot-instructions.md | Updates documentation examples to remove -- separators from test commands |
77fc265
to
c8bf995
Compare
c8bf995
to
071d5c5
Compare
This slight change in behavior is because I see #7363 added |
Adding |
@radical Assuming it's green. Can you please review so that we can get it merged? |
Ping @radical for review please. |
What does |
@radical It enables the new The old way of running MTP is that MTP is hooking into the VSTest infrastructure.
Anywhere |
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Checklist
<remarks />
and<code />
elements on your triple slash comments?doc-idea
templatebreaking-change
templatediagnostic
template