An open API service indexing awesome lists of open source software.

https://github.com/ferdyciputra/restassured-starter-project-api

This Starter Project API Automation Testing Using Rest Assured, TestNG and Extent Report for Reporting
https://github.com/ferdyciputra/restassured-starter-project-api

api automated-testing extentreports java restassured testng

Last synced: about 1 month ago
JSON representation

This Starter Project API Automation Testing Using Rest Assured, TestNG and Extent Report for Reporting

Awesome Lists containing this project

README

        

# restassured-starter-project-api
This Project API Automation Testing Using Rest Assured, TestNG and Extent Report for Reporting

## Required

1. Download [Java SDK](https://www.oracle.com/java/technologies/downloads/)
[Tutorial Installation Java in Windows](https://www.petanikode.com/java-windows/)

2. Download [Maven](https://maven.apache.org/download.cgi?Preferred=ftp://ftp.osuosl.org/pub/apache/)

`*If your computer already installed Java and Maven, you can skip step number 1 and 2.`

## Install Maven Dependency without running Test

```
mvn install -DskipTests=true
```

## Running Test with Default Value file TestNG XML

This command will run TestNG xml file located in `testng-suites/test-api.xml`

Default value is found in properties with the name `suiteXmlFile` in the `pom.xml` file

```
mvn test
```

## Running Test with Specified file TestNG XML

```
mvn -DsuiteXmlFile="path\to\file.xml" test
```

## See Results Test

You can see the test report results located in folder `reports`

`*To generate a report file using Library Extent Report`