In the xunit.runner.json file you can specify rules related to parallel execution.
{
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
"maxParallelThreads": 4,
"parallelizeTestCollections": true,
"parallelizeAssembly": true
}
I compared commits with and without the IAssemblyFixture applied to my tests.
With the above configuration and when using classic IClassFixture, the maximal number of running tests is 4.
But with the AssembluFixture, the test runner executes tests without limits (approx ~120 tests at the same time)
Is there a way to control it?