vscode-dotnet-test-explorer icon indicating copy to clipboard operation
vscode-dotnet-test-explorer copied to clipboard

[Feature Request] Add setting to specify arguments for dotnet build

Open gmkado opened this issue 2 years ago • 3 comments

Similar to dotnet-test-explorer.testArguments, can you add a setting that allows specifying arguments to the dotnet build step?

Specifically I would like to be able to run tests without re-building dependencies (with --no-dependencies)

gmkado avatar Feb 28 '23 21:02 gmkado

Altering the configuration via --configuration would also be a nice feature.

tacosontitan avatar May 12 '23 01:05 tacosontitan

Actually, after forking and looking into this, doesn't dotnet test -t -v=q execute a build behind the scenes? If so, then the testArguments setting will allow additional arguments that apply to the build step.

tacosontitan avatar May 12 '23 01:05 tacosontitan

Ah, but running the tests requires dotnet build; so still a valid suggestion IMHO. Creating PR.

tacosontitan avatar May 12 '23 01:05 tacosontitan