I am trying to execute dotnet test from the command line on our Jenkins build server, but it just hangs on:
dotnet test
Starting test execution, please wait...
The solution that worked for me was to add an AssemblyInfo.cs file with the following contents:
AssemblyInfo.cs
using Xunit; [assembly: CollectionBehavior(DisableTestParallelization = true)]
Once I did this, the tests started running in my CI builds again (in my case, Azure Pipelines).