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:
VSTest environmental options DisableAppDomain and DisableParallelization
Settings from .RunSettings and/or dotnet test command line switches
The configuration file values should all be passable via RunSettings. This would allow developers to either create
.RunSettings
files for their projects which exclusively usexunit.runner.visualstudio
to run tests and/or allow them to use a.RunSettings
file (ordotnet test
command line switches) to override values that are normally provided viaxunit.runner.json
.The order of precedence from highest to lowest will be:
DisableAppDomain
andDisableParallelization
.RunSettings
and/ordotnet test
command line switchesxunit.runner.json
Related: https://github.com/xunit/visualstudio.xunit/issues/189#issuecomment-1650616533 @tig