https://github.com/bujosa/castula
This is a simple project in spring boot for undestand how works testing
https://github.com/bujosa/castula
integration-testing java mockito spring-boot
Last synced: 8 months ago
JSON representation
This is a simple project in spring boot for undestand how works testing
- Host: GitHub
- URL: https://github.com/bujosa/castula
- Owner: bujosa
- License: mit
- Created: 2023-11-11T19:54:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T00:08:38.000Z (over 2 years ago)
- Last Synced: 2025-08-02T00:10:57.482Z (9 months ago)
- Topics: integration-testing, java, mockito, spring-boot
- Language: Java
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# castula
This is a simple project in spring boot for undestand how works testing,
integration tests and how to use mockito and mockmvc.
## Goals
- [x] Create a simple project in spring boot
- [x] Create a single crud endpoints
- [x] Create a integration test for that endpoint
## Run Tests
We are using gradle to run tests, so you can run the following command to run all tests
```bash
./gradlew test
```
## References
- [Spring Boot](https://spring.io/projects/spring-boot)
- [Mockito](https://site.mockito.org/)
- [MockMvc](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/test/web/servlet/MockMvc.html)