Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daryaandreyuk/petstoreapitesting
API Testing portfolio project
https://github.com/daryaandreyuk/petstoreapitesting
api gradle restassured-framework testng-framework
Last synced: 28 days ago
JSON representation
API Testing portfolio project
- Host: GitHub
- URL: https://github.com/daryaandreyuk/petstoreapitesting
- Owner: DaryaAndreyuk
- Created: 2024-08-22T10:52:00.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-09-26T08:52:40.000Z (about 1 month ago)
- Last Synced: 2024-09-26T12:41:36.521Z (about 1 month ago)
- Topics: api, gradle, restassured-framework, testng-framework
- Language: Java
- Homepage: https://petstore.swagger.io/#/
- Size: 193 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pet Store API Automation Testing
## Portfolio project on automation of test scripts using API tests for [Swagger Pet Store](https://petstore.swagger.io/#/)
## Contents:
- [Technology stack used](https://github.com/DaryaAndreyuk/PetStoreAPITesting?tab=readme-ov-file#technology-stack-used)
- [Running the Tests from the terminal](https://github.com/DaryaAndreyuk/PetStoreAPITesting?tab=readme-ov-file#running-the-tests)
- [Viewing Allure Reports](https://github.com/DaryaAndreyuk/PetStoreAPITesting?tab=readme-ov-file#running-the-tests)
- [Build with Jenkins](https://github.com/DaryaAndreyuk/PetStoreAPITesting?tab=readme-ov-file#build-with-jenkins)## Technology stack used
In this project, automated tests are written in `Java 21` using the `Rest-Assured` framework for API testing.
- `Gradle` is used as the build tool.
- `TestNG` is the testing framework.
- `Lombok` is utilized to simplify model creation in the API tests.
- `Allure` Rest-Assured listener is applied for generating test reports.## Running the Tests
To execute the tests, run the following command in the CLI:
`gradlew test`
## Viewing Allure Reports
After running the tests, you can view the Allure reports by executing:
`gradlew allureServe`
## Example of Allure Report
## Report with test results
## Build with Jenkins
## See Allure Report from Jenkins
If you have any comments or suggestions, please feel free to contact me
at: [[email protected]]([email protected])