RestAssured.Net 2.4.0

.NET 6.0 .NET Core 3.1
dotnet add package RestAssured.Net --version 2.4.0
NuGet\Install-Package RestAssured.Net -Version 2.4.0
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="2.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RestAssured.Net --version 2.4.0
#r "nuget: RestAssured.Net, 2.4.0"
#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=2.4.0

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


github-actions-ci 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 RestAssured.Dsl; // using static RestAssuredNet.RestAssuredNet for versions 1.x.x

public void DemonstrateRestAssuredNetEaseOfUse()
    .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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
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
🛍️ A practical e-commerce microservices, built with .Net 7, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
Version Downloads Last updated
2.4.0 55 3/20/2023
2.3.0 149 3/2/2023
2.3.0-beta 151 2/28/2023
2.2.2 453 1/31/2023
2.2.1 1,068 1/10/2023
2.2.0 219 12/31/2022
2.1.0 232 11/30/2022
2.0.0 756 11/20/2022
1.2.0 221 11/17/2022
1.2.0-alpha 64 11/15/2022
1.1.1 248 11/12/2022
1.0.0 385 11/3/2022