A sample spring boot application tested using TestContainers Spock framework.
I wrote this sample during the writing of my post about Testing Spring-Boot apps using TestContainers and Spock.
- Docker or docker-machine (for OS X)
- Java 8
- Tested using Spock
- Integration database provided by TestContainers
- Powered by Spring-Boot
- Built with Gradle
- Uses JOOQ as DSL to build SQL queries.
- run the tests
./gradlew test
- run the app
./gradlew bootRun
Feel free to open issues or submit PRs if you thing it is needed.