RestAssured.Net
2.0.0
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package RestAssured.Net --version 2.0.0
NuGet\Install-Package RestAssured.Net -Version 2.0.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.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RestAssured.Net --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RestAssured.Net, 2.0.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.0.0 // Install RestAssured.Net as a Cake Tool #tool nuget:?package=RestAssured.Net&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RestAssured.NET
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
[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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Microsoft.AspNetCore.WebUtilities (>= 2.2.0)
- Newtonsoft.Json (>= 13.0.1)
- Newtonsoft.Json.Schema (>= 3.0.14)
- NHamcrest (>= 3.0.1)
- Stubble.Core (>= 1.10.8)
-
net6.0
- Microsoft.AspNetCore.WebUtilities (>= 2.2.0)
- Newtonsoft.Json (>= 13.0.1)
- Newtonsoft.Json.Schema (>= 3.0.14)
- NHamcrest (>= 3.0.1)
- Stubble.Core (>= 1.10.8)
-
net7.0
- Microsoft.AspNetCore.WebUtilities (>= 2.2.0)
- Newtonsoft.Json (>= 13.0.1)
- Newtonsoft.Json.Schema (>= 3.0.14)
- NHamcrest (>= 3.0.1)
- Stubble.Core (>= 1.10.8)
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 and imaginary food delivery microservices, built with .Net 8, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
Version | Downloads | Last updated |
---|---|---|
4.3.1 | 398 | 8/22/2024 |
4.3.0 | 155 | 8/16/2024 |
4.3.0-beta.1 | 44 | 8/13/2024 |
4.2.2 | 9,818 | 4/23/2024 |
4.2.1 | 10,728 | 12/31/2023 |
4.2.0 | 2,336 | 11/22/2023 |
4.2.0-beta.4 | 62 | 11/18/2023 |
4.2.0-beta.3 | 130 | 11/18/2023 |
4.2.0-beta.2 | 64 | 11/12/2023 |
4.2.0-beta.1 | 76 | 11/5/2023 |
4.1.0 | 6,498 | 8/15/2023 |
4.0.0 | 5,339 | 7/11/2023 |
3.0.0 | 537 | 7/4/2023 |
2.8.1 | 7,561 | 5/23/2023 |
2.8.0 | 197 | 5/15/2023 |
2.7.0 | 262 | 5/10/2023 |
2.6.0 | 165 | 5/8/2023 |
2.5.0 | 2,415 | 4/3/2023 |
2.4.0 | 951 | 3/20/2023 |
2.3.0 | 357 | 3/2/2023 |
2.2.2 | 2,381 | 1/31/2023 |
2.2.1 | 1,568 | 1/10/2023 |
2.2.0 | 665 | 12/31/2022 |
2.1.0 | 435 | 11/30/2022 |
2.0.0 | 2,107 | 11/20/2022 |
1.2.0 | 401 | 11/17/2022 |
1.1.1 | 392 | 11/12/2022 |
1.0.0 | 911 | 11/3/2022 |