https://github.com/alissonwenceslau/bootcamp-spring-tdd-challenge
Test Driven Development
https://github.com/alissonwenceslau/bootcamp-spring-tdd-challenge
api-restful h2-database junit mockito mockmvc spring-boot tdd-java test-driven-development
Last synced: about 2 months ago
JSON representation
Test Driven Development
- Host: GitHub
- URL: https://github.com/alissonwenceslau/bootcamp-spring-tdd-challenge
- Owner: AlissonWenceslau
- Created: 2023-05-09T23:26:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-13T14:48:40.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T05:15:02.316Z (3 months ago)
- Topics: api-restful, h2-database, junit, mockito, mockmvc, spring-boot, tdd-java, test-driven-development
- Language: Java
- Homepage:
- Size: 576 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Teste Driven Development Challenge
Este é um desafio proposto pela DevSuperior referente ao capítulo **02.Testes Automatizados**

## Enunciado

Implemente as funcionalidades necessárias para que os seguintes testes:
Classe de teste **CityControllerIT**



---
Classe de teste **EventControllerIT**


---
O projeto foi desenvolvido no padrão de camadas, onde a implementação começa na camada service e vai até a camada controller, veja abaixo as implementações feitas
| Pacote | Classe | Métodos |
| --- | --- | --- |
| Services | CityService | findAll, insert, delete |
| Services | EventService | update, copyToEntity |
| Controllers | CityController | findAll, insert, delete |
| Controllers | EventController | update |## Implementation services


## Implementation controllers


Ao total foram 7 testes e 6 implementações baseados em testes de integração!