Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dannevesdantas/fiap-qualidade-software
Lições das aulas de Qualidade de Software da Pós Tech em Software Architecture da FIAP
https://github.com/dannevesdantas/fiap-qualidade-software
bdd cucumber gatling gherkin junit mockito rest-assured spring-boot tdd
Last synced: 23 days ago
JSON representation
Lições das aulas de Qualidade de Software da Pós Tech em Software Architecture da FIAP
- Host: GitHub
- URL: https://github.com/dannevesdantas/fiap-qualidade-software
- Owner: dannevesdantas
- Created: 2024-03-20T22:55:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-26T18:41:20.000Z (7 months ago)
- Last Synced: 2024-12-23T11:53:37.299Z (about 1 month ago)
- Topics: bdd, cucumber, gatling, gherkin, junit, mockito, rest-assured, spring-boot, tdd
- Language: Java
- Homepage: https://postech.fiap.com.br/curso/software-architecture/
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fiap-qualidade-software
Lições das aulas de Qualidade de Software da [Pós Tech em Software Architecture da FIAP](https://postech.fiap.com.br/curso/software-architecture/).
![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=for-the-badge&logo=openjdk&logoColor=white)
![Spring](https://img.shields.io/badge/spring-%236DB33F.svg?style=for-the-badge&logo=spring&logoColor=white)
![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge&logo=postgresql&logoColor=white)## Executar a aplicação
1. Execute o comando `mvn package`
2. Execute o comando `docker compose -f docker-compose.yaml up -d`
3. Acesse http://localhost:8080/mensagens### Frameworks de teste utilizados
- [JUnit 5](https://junit.org/junit5/)
- [Mockito](https://site.mockito.org/)
- [AssertJ](https://joel-costigliola.github.io/assertj/)
- [Rest Assured](https://rest-assured.io/)
- [Cucumber](https://cucumber.io/)
- [Gatling](https://gatling.io/)### Banco de dados
- [PostgreSQL](https://www.postgresql.org/)
- [H2 Database Engine](https://www.h2database.com/)## Testes
### Execução dos Testes
Para executar os testes unitários:
```sh
mvn test
```Para executar os testes integrados:
```sh
mvn test -P integration-test
```Para executar os testes de sistema:
```sh
mvn test -P system-test
```Para exibir o Allure report:
```
allure serve target/allure-results
````Para executar os testes de performance:
```sh
mvn gatling:test -P performance-test
```> Você também pode usar o `Makefile`
### Cenários de teste
![image](https://github.com/dannevesdantas/fiap-qualidade-software/assets/5115895/a60e3c53-2753-4ce7-97b6-b54c7000c34a)
### Code Coverage
### Testes de performance com Gatling
## Requisitos
*JDK 17*\
*Maven 3.9.6*