Repository navigation
Releases: jjs98/easy-server-mock
Releases · jjs98/easy-server-mock
Release list
v1.1.0
EasyServerMock v1.1.0
🎉 New Features!
- Validate send query parameters
- Configure a delay befor the response is send
- All Configure methods have been removed
- To configure the endpoints there now is a builder
var headers = new Dictionary<string, string>
{
{ "X-Custom-Header", "HeaderValue" },
{ "X-Another-Header", "AnotherValue" }
};
client
.Get("/test")
.WithResponse(new TestResponse("OK"))
.WithHeaders(headers)
.WithStatusCode(HttpStatusCode.OK)
.WithDelay(200)
.Provide();Mocking made easy!
Happy testing!
v1.0.1
EasyServerMock v1.0.1
This is a library to easy mock third party server in your .Net integration tests.
🎉 First official release!
- Easy third party mocking for .Net tests
- Configure the mocked paths, responses (including headers) and response codes
- Validate the called paths and make sure the right payload was send
Mocking made easy!
Happy testing!