C
C#17mo 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?
1 Reply
Accord
Accord17mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.