formulahendry / vscode-dotnet-test-explorer

.NET Core Test Explorer for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=formulahendry.dotnet-test-explorer
MIT License
202 stars 95 forks source link

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

Open gmkado opened 1 year ago

gmkado commented 1 year ago

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)

tacosontitan commented 1 year ago

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

tacosontitan commented 1 year ago

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 commented 1 year ago

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