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
- Host: GitHub
- URL: https://github.com/ferdyciputra/restassured-starter-project-api
- Owner: ferdyciputra
- Created: 2023-12-28T15:23:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-24T07:48:28.000Z (2 months ago)
- Last Synced: 2025-02-24T08:36:33.495Z (2 months ago)
- Topics: api, automated-testing, extentreports, java, restassured, testng
- Language: Java
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`