https://github.com/jmr85/dummyjson-restassured-tests
Proyecto de automatización de pruebas de API sobre DummyJSON utilizando Java 21, RestAssured, TestNG, Gradle y reportes Allure. Incluye ejecución diaria y manual mediante GitHub Actions y publicación automática del reporte Allure en GitHub Pages. 🔗 Base URI: https://dummyjson.com
https://github.com/jmr85/dummyjson-restassured-tests
allure-report ci-cd dummyjson dummyjson-api github-actions github-pages gradle-groovy java java-21 rest-assured testng workflow
Last synced: about 1 month ago
JSON representation
Proyecto de automatización de pruebas de API sobre DummyJSON utilizando Java 21, RestAssured, TestNG, Gradle y reportes Allure. Incluye ejecución diaria y manual mediante GitHub Actions y publicación automática del reporte Allure en GitHub Pages. 🔗 Base URI: https://dummyjson.com
- Host: GitHub
- URL: https://github.com/jmr85/dummyjson-restassured-tests
- Owner: jmr85
- License: mit
- Created: 2025-07-25T01:06:02.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-11-03T02:36:03.000Z (8 months ago)
- Last Synced: 2025-11-03T04:18:38.321Z (8 months ago)
- Topics: allure-report, ci-cd, dummyjson, dummyjson-api, github-actions, github-pages, gradle-groovy, java, java-21, rest-assured, testng, workflow
- Language: Java
- Homepage:
- Size: 2.95 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DummyJSON RestAssured API Tests

[](https://jmr85.github.io/dummyjson-restassured-tests/)
Proyecto de automatización de pruebas de API sobre **DummyJSON** utilizando **Java 21**, **RestAssured**, **TestNG**, **Gradle** y reportes **Allure**.
El pipeline de CI/CD corre automáticamente todos los días y publica los resultados en GitHub Pages.
---
## 🚀 Características principales
- Pruebas de endpoints REST con validaciones exhaustivas.
- Ejecución automatizada diaria y manual vía [GitHub Actions](./.github/workflows/deploy-report.yml).
- Reportes Allure visuales, publicados automáticamente en [GitHub Pages](https://jmr85.github.io/dummyjson-restassured-tests/).
- Uso de TestNG con suite personalizada (`testNG.xml`).
- Ejemplo de adjuntos de respuestas JSON en el reporte.
- Separación clara de clases de prueba, utilidades y recursos.
---
## 📋 Estructura del proyecto
```
├── src
│ ├── test
│ │ ├── java
│ │ │ └── APITests
│ │ │ ├── AuthTests.java
│ │ │ ├── UsersTests.java
│ │ │ ├── ExampleTest.java
│ │ │ └── Utils/
│ │ └── resources
│ │ └── testNG.xml
├── build.gradle
├── .github/
│ └── workflows/
│ └── deploy-report.yml
└── README.md
```
---
## 🧪 Ejecución local
1. **Clonar el repositorio:**
```sh
git clone https://github.com/jmr85/dummyjson-restassured-tests.git
cd dummyjson-restassured-tests
```
2. **Ejecutar los tests:**
```sh
./gradlew clean test
```
3. **Ver el reporte Allure localmente (requiere [Allure Commandline](https://docs.qameta.io/allure/#_get_started)):**
```sh
allure serve build/allure-results
```
---
## 📊 Ver el reporte online
Visualizá el último reporte Allure generado por CI/CD en:
[https://jmr85.github.io/dummyjson-restassured-tests/](https://jmr85.github.io/dummyjson-restassured-tests/)
---
## ✍️ Contribuciones
¡Pull requests y sugerencias son bienvenidas!
Si encontrás un bug o querés sumar tests, abrí un issue o mandá tu PR.
---
## 🛠️ Stack tecnológico
- Java 21
- Gradle
- TestNG
- RestAssured
- Allure Framework
- GitHub Actions
---
## 📃 Licencia
MIT
---
> Made with 💙 by [Juan Martin](https://github.com/jmr85)
```