Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thinogueiras/rest-assured
Automação de Testes de API com REST-assured e JUnit 5.
https://github.com/thinogueiras/rest-assured
allure-reports api-testing java junit5 maven rest-api rest-assured
Last synced: 1 day ago
JSON representation
Automação de Testes de API com REST-assured e JUnit 5.
- Host: GitHub
- URL: https://github.com/thinogueiras/rest-assured
- Owner: thinogueiras
- License: mit
- Created: 2022-11-12T13:39:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T18:32:38.000Z (9 months ago)
- Last Synced: 2024-04-28T03:45:20.102Z (7 months ago)
- Topics: allure-reports, api-testing, java, junit5, maven, rest-api, rest-assured
- Language: Java
- Homepage:
- Size: 204 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Testes de API com REST-assured e JUnit 5.
[![REST-assured Tests](https://github.com/thinogueiras/REST-assured/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/thinogueiras/REST-assured/actions/workflows/ci.yml)
## Pré-requisitos mínimos de ambiente:
* [Java](https://www.oracle.com/br/java/technologies/downloads/#java11) 11.0.x.
## IDE de desenvolvimento:
* [Eclipse](https://eclipseide.org).
## Clone do repositório:
```
git clone https://github.com/thinogueiras/REST-assured.git
```## Abrir o projeto no Eclipse:
* Abra o Eclipse >> Menu File >> Import >> Maven >> Existing Maven Projects.
* Navegar até o repositório clonado >> Selecionar a pasta >> Finish.## Execução dos testes:
### JUnit:
* Após importar o projeto com sucesso no Eclipse, clique para expandir o Source Folder: `src/test/java`, clique com o botão `direito` do mouse sobre o package: `br.qa.thinogueiras.suite` >> Run As >> JUnit Test.
### Terminal:
```
mvn test
```## Relatório:
* #### Abrir o terminal e digitar:```
allure serve allure-results
```![Alt text](/.github/images/allure-results.png)
---
Thiago Nogueira dos Santos 🤓 ✌🏻
QA Automation Engineer 🔎 🐞