Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guedesrodriguezleonardo/rest-assured-testng
API Automation testing framework using Rest Assured, TestNG and Java
https://github.com/guedesrodriguezleonardo/rest-assured-testng
api-testing java rest-assured test-automation testng
Last synced: 4 days ago
JSON representation
API Automation testing framework using Rest Assured, TestNG and Java
- Host: GitHub
- URL: https://github.com/guedesrodriguezleonardo/rest-assured-testng
- Owner: guedesrodriguezleonardo
- Created: 2023-05-21T18:39:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-01T23:10:10.000Z (over 1 year ago)
- Last Synced: 2024-11-09T12:34:08.137Z (2 months ago)
- Topics: api-testing, java, rest-assured, test-automation, testng
- Language: Java
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rest-assured-testng project âŠī¸
This project focuses on API testing using RestAssured for the Swagger Petstore API. It utilizes Maven as the build automation tool. The purpose of this project is to ensure the functionality and reliability of the API by performing various test scenarios.
## How to run
To get started with this project, follow the steps below:1. Clone the repository to your local machine
2. Run the entire test suite using Maven:
```
mvn clean test
```
3. To run a specific test, you can use the TestNG annotations and specify the test class. For example, if you want to run the **CreatePet** test, you can use the following command:
```
mvn clean test -Dtest=CreatePet
```
Replace **CreatePet** with the desired tag for the specific test you want to run.### đ TestNG Report
This project uses TestNG as the testing framework, generating a HTML report after test execution in the **/target/surefire-reports** directory. The report includes detailed information on test results, such as test case status, execution time, and any failures or errors encountered