Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rest-assured-net

> 测试质量
Open source

C# DSL for writing readable tests for HTTP-based APIs

192 stars0 likes1 views
WebsiteGitHub

About

C# DSL for writing readable tests for HTTP-based APIs

RestAssured.Net

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

csharp
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 if you think something is missing from RestAssured.Net, feel free to submit an issue.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#apihttpjsonrest

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category测试质量
PricingOpen source

> Related tools

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.