Sample Spring Boot Application with Spock Tests A sample Spring Boot application with Spock tests. For more information, see the blog entry Testing Spring Boot Applications with Spock. Building, testing, and running with Gradle Testing To run the unit tests: ./gradlew test Building To run tests and build the JAR file: ./gradlew build Running ./gradlew bootRun Using IntelliJ IDEA See Testing Spring Boot Applications with Spock.