-
Notifications
You must be signed in to change notification settings - 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.TestContainers
Install-Package NinjaTools.FluentMockServer.TestContainers
To run the mockserver in it's default configuration please run following command.
docker run -d --rm -P mockserver/mockserver
To run the mockserver in it's default configuration please run following command.
docker run -d --rm <HostPort>:1080 mockserver/mockserver
For additional options please follow the instruction on http://mock-server.com/where/docker.html