• Stars
    star
    136
  • Rank 266,536 (Top 6 %)
  • Language
    C#
  • License
    Apache License 2.0
  • Created almost 2 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

RestAssured.Net

github-actions-ci Nuget Nuget

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

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.

More Repositories

1

rest-assured-workshop

Free and open source REST Assured workshop
Java
309
star
2

wiremock-workshop

Open source workshop teaching you the basics of WireMock
Java
115
star
3

a-test-automation-project

A test automation project for everyone to help them learn how to build and run their own tests locally and in CI.
84
star
4

requests-workshop

Slides, examples, exercises and answers for my open source workshop on API testing in Python using requests
Python
84
star
5

tau-rest-assured

Sample code used in the TestAutomationU course on REST Assured that I created
Java
69
star
6

ota-examples

Code examples for the blog posts on https://www.ontestautomation.com
Java
39
star
7

introduction-to-contract-testing

Java
23
star
8

restsharp-examples

Repository for the examples at https://www.ontestautomation.com/restful-api-testing-in-csharp-with-restsharp/
C#
22
star
9

restsharp-workshop

Free and open source RestSharp workshop
C#
21
star
10

java-for-testers

Java for Testers course material
Java
10
star
11

api-testing-masterclass

Examples, exercises and answers for my API testing masterclass
Java
9
star
12

python-for-testers

Python
9
star
13

api-testing-masterclass-csharp

C#
7
star
14

selenium-cucumber-training

Test code for my course on building great end-to-end tests with Selenium and Cucumber
Java
6
star
15

wiremock-net-workshop

C#
6
star
16

automation-assessment

List of questions that can be used to conduct an assessment of an existing test automation project / setup
6
star
17

api-testing-js-pactum

JavaScript
6
star
18

tau-bdd-specflow

5
star
19

wiremock-net-examples

C#
5
star
20

99-minute-workshop-requests

Examples, exercises and answers for my 99 minute workshop on API testing in Python with requests for the Ministry of Testing
Python
5
star
21

introduction-to-api-testing-with-requests

Python
5
star
22

restassured-graphql

Java
5
star
23

csharp-for-testers

Course material for my C# for testers course
C#
4
star
24

advanced-automation-course

Java
4
star
25

ui-automation-example-csharp

A blueprint of my approach to user interface-driven test automation for web application, written in C#, using Selenium and NUnit.
C#
4
star
26

api-testing-python

Python
4
star
27

improving-your-test-automation-code

Java
3
star
28

ntd2022-tutorial

Java
3
star
29

java-test-automation

Java
3
star
30

ukstar-deep-dive

Repository containing the code samples as shown in my UKStar 2019 deep dive on creating robust test automation frameworks
Java
3
star
31

introduction-to-mutation-testing

Java
3
star
32

service-virtualization-workshop

Service virtualization workshop examples, exercises and answers
Java
2
star
33

pytest-api-ci-demo

Python
2
star
34

BddCourse

Gherkin
2
star
35

basdijkstra.github.io

On Test Automation website
HTML
2
star
36

restassured-parabank-demo

Java
2
star
37

selenium-training

Java
2
star
38

basdijkstra

2
star
39

robot-framework-training

Examples, exercises and answers for the Robot Framework training
RobotFramework
2
star
40

postman-newman-demo

2
star
41

selenium-csharp-pageobjects-examples

C#
2
star
42

python-robot-framework

RobotFramework
2
star
43

introduction-to-java-test-automation

Java
2
star
44

testproject-mockito-wiremock

Code samples from my article series on mocking, stubbing and service virtualization, as published on the TestProject blog
Java
2
star
45

tad-2019-workshop

Examples, exercises and answers for the workshop I'll be facilitating at the 2019 Test Automation Days
Java
2
star
46

rtc2017

Workshop for the 2017 Romanian Testing Conference
Java
2
star
47

api-mocking-with-wiremock

2
star
48

rtc2018

Examples, exercises and answers for my workshop at Romanian Testing Conference 2018
Java
1
star
49

picnic-training

Python
1
star
50

csharp-automation-examples

C#
1
star
51

specflow-workshop

C#
1
star
52

rfw_spilberg_webinar

RobotFramework
1
star
53

python-api-testing-workshop

Python
1
star
54

java-mail-examples

Java
1
star
55

bdd-masterclass

Masterclass BDD with Cucumber
Java
1
star
56

api-testing

Java
1
star
57

rest-assured-net-client-test

C#
1
star
58

cucumber-training

Java
1
star
59

introduction-to-contract-testing-python

Python
1
star
60

robot-framework-workshop

RobotFramework
1
star
61

cgm-automation-course

Java
1
star
62

specflow-nunit-restsharp-selenium-extentreports-example

C#
1
star
63

data-driven-requests

Python
1
star
64

introduction-to-contract-testing-dotnet

C#
1
star
65

postman-ci-example

1
star
66

java-sql-project

Java
1
star
67

cgm-automation

Java
1
star
68

wiremock-extensions

Java
1
star
69

wiremock-advanced-features

Java
1
star
70

cicd-jenkins-demo

Java
1
star
71

playwright-ts-workshop

TypeScript
1
star
72

api-security-testing-workshop

Shell
1
star
73

rest-assured-net-workshop

C#
1
star