XUnit Tests Hang on Run all

My application is an ASP.NET Core application.

I tested my application using MSTest, but decided to change it to xUnit. All my tests passed when I ran them all in MSTest. However, if I run them all with xUnit, it seems like a random number of tests end and then freeze. No tests fail, they just freeze.

I tried changing the default processor architecture to X64, as mentioned here .

If I just mark one single test and run just this one, it will end. I tried this with every test and it worked for everyone.

so my problem is that testrunner just freezes if I click the Run All button.

Using Iam xUnit Version 2.2.0 of Visual Studio 2017

Many thanks

+6
source share

Source: https://habr.com/ru/post/1015787/


All Articles