Allow us to communicate with the TestServer over the network
drauch opened this issue · comments
We would love to run our browser-based Selenium web tests against an instance of TestServer
(as described here: https://docs.microsoft.com/en-us/aspnet/core/test/integration-tests?view=aspnetcore-2.1). Unfortunately, TestServer does not open an in-process HTTP server, instead it directly communicates with the application. It'd be great if there'd be a second TestServer
which actually hosts an HTTP server (e.g., in-process Kestrel).
Why not just use kestrel?
Actually, we do at the moment. But it looks like the integration test suite is now the way to go into the future?
Kestrel is fine for in process functional testing. TestServer is for more targeted unit testing.
Fair enough, then we keep going with our in process Kestrel strategy.