Digital Innovation One: Project to Bootcamp - Development of unit tests to validate a REST API for beer stocks management
In this project a REST API for beer stock management was developed, with a focus on unit testing. Main frameworks used for unit tests: JUnit, Mockito and Hamcrest. Unit tests were created to validate the basic functionalities: creation, listing, query by name, and exclusion of beers.In the end, two important functionalities were developed using the TDD concept: functionalities to increment and decrement the number of beers in stock.
http://localhost:8080/api/v1/beers
- Java 11
- Maven 3.8.1
- Intellj IDEA
- GIT
- DevTools
- Lombok
- Spring Web
- Data JPA
- Actuator
- H2 Database
- MapStruct