Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 877 Bytes

File metadata and controls

39 lines (24 loc) · 877 Bytes

RestAssuredNetDemo

This project contains basic API tests written in C# using the RestAssured.Net library and xUnit test framework.

Overview

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

Prerequisites

  • .NET 8.0 SDK
  • Visual Studio Code or Visual Studio
  • Internet connection (for hitting JSONPlaceholder API)

Getting Started

  1. Clone this repository:

    git clone https://github.com/yourusername/RestAssuredNetDemo.git
    cd RestAssuredNetDemo
    
  2. Restore dependencies:

    dotnet restore
    
  3. Run the tests:

    dotnet test