This project contains basic API tests written in C# using the RestAssured.Net library and xUnit test framework.
The tests target the public JSONPlaceholder API (https://jsonplaceholder.typicode.com) and cover common CRUD operations:
- Get all posts
- Get posts by userId
- Create a new post
- Update a post
- Delete a post
- .NET 8.0 SDK
- Visual Studio Code or Visual Studio
- Internet connection (for hitting JSONPlaceholder API)
-
Clone this repository:
git clone https://github.com/yourusername/RestAssuredNetDemo.git cd RestAssuredNetDemo -
Restore dependencies:
dotnet restore
-
Run the tests:
dotnet test