Skip to content

bheemreddy181/rest-assured-net

 
 

Repository files navigation

RestAssured.NET

basdijkstra Nuget Nuget

This is a C# .NET version of the original REST Assured.

With RestAssured.Net, writing tests for your HTTP APIs is as simple as

using static RestAssuredNet.RestAssuredNet;

[Test]
public void DemonstrateRestAssuredNetEaseOfUse()
{
    Given()
    .When()
    .Get("http://api.zippopotam.us/us/90210")
    .Then()
    .StatusCode(200)
    .And()
    .Body("$.places[0].state", NHamcrest.Is.EqualTo("California"));
}

All features of the library are described and demonstrated in the RestAssured.Net Usage Guide.

Want to contribute?

I'm mostly looking for people who want to give the library a spin and let me know what they think, what issues they found and what they're still missing.

Feel free to submit an issue on this repo if you see any room for improvement.

About

C# DSL for writing readable tests for REST APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%