We are running xunit based tests using dotnet test via the command-line.
I stumbled now upon several configuration options for xunit that do not have the same amount of settings:
Why are there not all settings available in both versions? When to use which flavor?
We are running xunit.net based tests using dotnet test via the command-line.
I stumbled now upon several configuration options for xunit that do not have the same amount of settings:
Why are there not all settings available in both versions? When to use which flavor?
.runsettings
is a standardized way of configuring unit tests being run by VSTest or MSTest runners. xunit.runner.json
is xUnit's own configuration alternative. Use whichever is most suitable to your setup.
https://learn.microsoft.com/en-us/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file?view=vs-2022