-
Couldn't load subscription status.
- Fork 2
Installation
Alexander Held edited this page Dec 25, 2019
·
2 revisions
You can choose between:
- Start the MockServer right inside your unit tests.
- Run the MockServer as a docker container on your machine in the background
Install the nuget package NinjaTools.FluentMockServer.TestContainers and see XUnit Integration
dotnet add package NinjaTools.FluentMockServer.TestContainersInstall-Package NinjaTools.FluentMockServer.TestContainersTo run the mockserver in it's default configuration please run following command.
docker run -d --rm -P mockserver/mockserverTo run the mockserver in it's default configuration please run following command.
docker run -d --rm <HostPort>:1080 mockserver/mockserverFor additional options please follow the instruction on http://mock-server.com/where/docker.html