RestAssured.Net brings the power of REST Assured to the C# / .NET ecosystem.
With RestAssured.Net, writing tests for your HTTP APIs is as simple as
using static RestAssured.Dsl;
[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.
You can add RestAssured.Net to your project using NuGet:
dotnet add package RestAssured.Net
or nuget install RestAssured.Net
RestAssured.Net is also available through GitHub Packages.
That's awesome! Before you get to work and submit a Pull Request, though, I'd appreciate you telling me a little more about your idea.
Oh, and if you find a bug, or think something is missing from RestAssured.Net, feel free to submit an issue.