Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davescott99/tdd-exercise-02

Exercise about TDD
https://github.com/davescott99/tdd-exercise-02

java junit5 mockmvc spring-boot

Last synced: 14 days ago
JSON representation

Exercise about TDD

Awesome Lists containing this project

README

        

# TDD-exercise-02

Este é um sistema de eventos e cidades com uma relação N-1 entre eles:

![image](https://github.com/DaveScott99/TDD-exercise-02/assets/101915085/e34c0480-ede2-443c-a2ef-59b6845ab86b)

## Testes de integração realizados

- CityControllerIT
- findAllShouldReturnAllResourcesSortedByName
- insertShouldInsertResource
- deleteShouldReturnNoContentWhenIndependentId
- deleteShouldReturnNotFoundWhenNonExistingId
- deleteShouldReturnBadRequestWhenDependentId

- EventControllerIT
- updateShouldUpdateResourceWhenIdExists
- updateShouldReturnNotFoundWhenIdDoesNotExist