RestAssured.Net
4.6.0
dotnet add package RestAssured.Net --version 4.6.0
NuGet\Install-Package RestAssured.Net -Version 4.6.0
<PackageReference Include="RestAssured.Net" Version="4.6.0" />
paket add RestAssured.Net --version 4.6.0
#r "nuget: RestAssured.Net, 4.6.0"
// Install RestAssured.Net as a Cake Addin #addin nuget:?package=RestAssured.Net&version=4.6.0 // Install RestAssured.Net as a Cake Tool #tool nuget:?package=RestAssured.Net&version=4.6.0
RestAssured.Net
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?
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.
Product | Versions 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. net9.0 is compatible. |
-
net6.0
- HtmlAgilityPack (>= 1.11.71)
- Newtonsoft.Json (>= 13.0.3)
- NHamcrest (>= 3.4.0)
- NJsonSchema (>= 11.1.0)
- Stubble.Core (>= 1.10.8)
- System.Text.Encodings.Web (>= 6.0.1)
-
net7.0
- HtmlAgilityPack (>= 1.11.71)
- Newtonsoft.Json (>= 13.0.3)
- NHamcrest (>= 3.4.0)
- NJsonSchema (>= 11.1.0)
- Stubble.Core (>= 1.10.8)
- System.Text.Encodings.Web (>= 7.0.0)
-
net8.0
- HtmlAgilityPack (>= 1.11.71)
- Newtonsoft.Json (>= 13.0.3)
- NHamcrest (>= 3.4.0)
- NJsonSchema (>= 11.1.0)
- Stubble.Core (>= 1.10.8)
- System.Text.Encodings.Web (>= 8.0.0)
-
net9.0
- HtmlAgilityPack (>= 1.11.71)
- Newtonsoft.Json (>= 13.0.3)
- NHamcrest (>= 3.4.0)
- NJsonSchema (>= 11.1.0)
- Stubble.Core (>= 1.10.8)
- System.Text.Encodings.Web (>= 9.0.0)
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.6.0 | 741 | 12/9/2024 |
4.6.0-beta.1 | 50 | 12/8/2024 |
4.5.1 | 2,001 | 11/20/2024 |
4.5.0 | 125 | 11/19/2024 |
4.4.0 | 3,601 | 10/21/2024 |
4.4.0-beta.1 | 80 | 10/19/2024 |
4.3.1 | 8,378 | 8/22/2024 |
4.3.0 | 227 | 8/16/2024 |
4.3.0-beta.1 | 78 | 8/13/2024 |
4.2.2 | 18,002 | 4/23/2024 |
4.2.1 | 17,992 | 12/31/2023 |
4.2.0 | 2,372 | 11/22/2023 |
4.2.0-beta.4 | 76 | 11/18/2023 |
4.2.0-beta.3 | 154 | 11/18/2023 |
4.2.0-beta.2 | 81 | 11/12/2023 |
4.2.0-beta.1 | 97 | 11/5/2023 |
4.1.0 | 7,079 | 8/15/2023 |
4.0.0 | 5,505 | 7/11/2023 |
3.0.0 | 599 | 7/4/2023 |
2.8.1 | 8,037 | 5/23/2023 |
2.8.0 | 223 | 5/15/2023 |
2.7.0 | 358 | 5/10/2023 |
2.6.0 | 194 | 5/8/2023 |
2.5.0 | 2,492 | 4/3/2023 |
2.4.0 | 965 | 3/20/2023 |
2.3.0 | 385 | 3/2/2023 |
2.2.2 | 2,914 | 1/31/2023 |
2.2.1 | 1,711 | 1/10/2023 |
2.2.0 | 682 | 12/31/2022 |
2.1.0 | 458 | 11/30/2022 |
2.0.0 | 2,309 | 11/20/2022 |
1.2.0 | 428 | 11/17/2022 |
1.1.1 | 406 | 11/12/2022 |
1.0.0 | 966 | 11/3/2022 |