dotnet / dotnet/sdk

[dotnet-watch] Clean up subcommands parsing

Open
#52,383 0 comments 0 reactions 0 assignees View on GitHub
Area-Watch untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

Once dotnet CLI refactoring is done we can:
- remove dependency on dotnet project
- create WatchCommandDefinition
- parameterize created test commands to allow better testing
E.g. Currently we don't test MTP since to just parse the test command we need to set up environment global.json above the current directory (current test dir is `artifacts\bin\dotnet-watch.Tests\Debug\net10.0`). We should be able to select MTP command instead of the generic test command as needed. Update test: `ForwardedBuildOptions_Test` to check both MTP and VSTest.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.