C#C
C#3y ago
Ownix

❔ "The server has not been started or no web application was configured."

I have two test classes that inherit from
 ITestFixture<WebAppFactory>
just like you see in the Microsoft integration testing docs. When I run ALL tests, they run in parallel by default, I get an error. Or sometimes I get the error "System.InvalidOperationException : The entry point exited without ever building an IHost.".

However, if I run each test class at a time, the tests pass.

Google says this error usually means something else went wrong during start up, I am using the Serilog CreateBootStrap() logger, is there a way to get some better logging or has anyone had this issue and seen this before?
image.png
Was this page helpful?