Skip to content

genomicsengland/RETestFrameworkAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pet Store RestAssured Project

This repository contains a sample project demonstrating how to test a REST API using REST Assured. The API being tested is the Petstore API, specifically the USER endpoint from the Swagger documentation: https://petstore.swagger.io/#/user/.

Prerequisites

Before running the tests, make sure you have the following software installed on your machine:

  • Java Development Kit (JDK) version 8 or higher
  • Maven (for managing dependencies and building the project)

Getting Started

To get started, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/anoopezhap/Pet-Store-RestAssured-Project.git
  1. Navigate to the project directory:
cd rest-assured-petstore
  1. Build the project and download dependencies using Maven:
mvn clean install

Usage

After successfully installing the project, you can run the tests using the following command:

mvn test

This will execute all the test cases present in the project and generate test reports.

Reporting

After running the tests, you will find the test reports generated by the Extent Reports in the reports directory. These reports provide detailed information about the test results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages