Skip to content

Releases: jjs98/easy-server-mock

Release list

v1.1.0

Choose a tag to compare

@jjs98 jjs98 released this 03 Sep 21:11

EasyServerMock v1.1.0

🎉 New Features!

  • Validate send query parameters
  • Configure a delay befor the response is send

⚠️ Breaking Changes!

  • 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

Choose a tag to compare

@jjs98 jjs98 released this 03 Sep 19:37

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!