xunit / visualstudio.xunit

VSTest runner for xUnit.net (for Visual Studio Test Explorer and dotnet test)
https://xunit.net/
Other
144 stars 81 forks source link

Add support for all configuration elements via RunSettings #378

Closed bradwilson closed 1 year ago

bradwilson commented 1 year ago

The configuration file values should all be passable via RunSettings. This would allow developers to either create .RunSettings files for their projects which exclusively use xunit.runner.visualstudio to run tests and/or allow them to use a .RunSettings file (or dotnet test command line switches) to override values that are normally provided via xunit.runner.json.

The order of precedence from highest to lowest will be:

Related: https://github.com/xunit/visualstudio.xunit/issues/189#issuecomment-1650616533 @tig

bradwilson commented 1 year ago

Documention page: https://xunit.net/docs/runsettings