Spring-boot,testContainers and spock sample app
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.
Requirements
- Docker or docker-machine (for OS X)
- Java 8
Tech stack :
- 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 sample
- run the tests
./gradlew test
- run the app
./gradlew bootRun
Contributions :
Feel free to open issues or submit PRs if you thing it is needed.