79121481

Date: 2024-10-24 10:34:02
Score: 1
Natty:
Report link

The link in accepted answer is not working, so I am adding my solution of the problem.

Using xUnit 2.8.1 and visual studio runner.

When I tried to disable parallelization in xunit.runner.json, it did not work. Neither with just

"parallelizeTestCollections": false

nor when adding

"maxParallelThreads": 1

my solution was to use the assembly attribute

[assembly: CollectionBehavior(MaxParallelThreads = 1, DisableTestParallelization = true)]
Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matus