RestAssured.Net 4.2.1

dotnet add package RestAssured.Net --version 4.2.1
NuGet\Install-Package RestAssured.Net -Version 4.2.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RestAssured.Net" Version="4.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RestAssured.Net --version 4.2.1
#r "nuget: RestAssured.Net, 4.2.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RestAssured.Net as a Cake Addin
#addin nuget:?package=RestAssured.Net&version=4.2.1

// Install RestAssured.Net as a Cake Tool
#tool nuget:?package=RestAssured.Net&version=4.2.1

RestAssured.Net

github-actions-ci Nuget Nuget

RestAssured.Net brings the power of <a href="https://rest-assured.io" target="_blank">REST Assured</a> 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.

Where can I get RestAssured.Net?

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.

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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on RestAssured.Net:

Repository Stars
mehdihadeli/food-delivery-microservices
🍔 A practical food delivery microservices, built with .Net 7, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
Version Downloads Last updated
4.2.1 3,256 12/31/2023
4.2.0 1,524 11/22/2023
4.2.0-beta.4 59 11/18/2023
4.2.0-beta.3 129 11/18/2023
4.2.0-beta.2 61 11/12/2023
4.2.0-beta.1 67 11/5/2023
4.1.0 5,893 8/15/2023
4.0.0 4,849 7/11/2023
3.0.0 484 7/4/2023
2.8.1 6,454 5/23/2023
2.8.0 185 5/15/2023
2.7.0 240 5/10/2023
2.6.0 161 5/8/2023
2.5.0 2,368 4/3/2023
2.4.0 913 3/20/2023
2.3.0 351 3/2/2023
2.2.2 2,040 1/31/2023
2.2.1 1,417 1/10/2023
2.2.0 653 12/31/2022
2.1.0 415 11/30/2022
2.0.0 1,919 11/20/2022
1.2.0 390 11/17/2022
1.1.1 378 11/12/2022
1.0.0 774 11/3/2022