Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for all configuration elements via RunSettings #378

Closed
bradwilson opened this issue Jul 26, 2023 · 1 comment
Closed

Add support for all configuration elements via RunSettings #378

bradwilson opened this issue Jul 26, 2023 · 1 comment

Comments

@bradwilson
Copy link
Member

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
  • Settings from xunit.runner.json
  • Default values

Related: #189 (comment) @tig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant