-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running WireMock.Net without starting a server #498
Comments
@Tragedian |
I can see that the implementation is currently built around middleware configured using |
Maybe making |
It would be a fantastic step in that direction, certainly. The only challenge then would be configuring the middleware options, as those methods all exist on the server, not the options themselves. It probably wouldn't be hard to move some logic around to achieve that though. |
The middle ware depends on:
However code to add/configure mappings is not working because these methods are defined on the WireMock server code. |
Closing... |
Is there a way to run WireMock.Net without starting a server instance running on a physical port? It would be great to be able to create a server-less instance that exposes an
HttpMessageHandler
orHttpClient
in a similar fashion to ASP.NET'sTestServer
. It would be easy to inject these properties into a system-under-test to avoid having to go over a physical network link.The text was updated successfully, but these errors were encountered: