Skip to content

Spring Boot project which integrates JPA, JUnit and Spock (extended sample from Craig Walls book)

Notifications You must be signed in to change notification settings

MitchDresdner/SpringBoot-JPA-Spock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot-JPA-Spock

###Spring Boot project which integrates JPA, JUnit and Spock (extended sample from Craig Walls book)

Uses

  • MySQL Hibernate/JPA
  • Spock
  • JUnit

run: gradle test

Built using the following versions

  • Gradle 2.3
  • Groovy 2.3.9
  • Java 1.8.0_60

Worked Around:

  1. Spock 1.0 doesn't support @SpringBootTest
  resolved: Moved to Spock 1.1 RC
  testCompile('org.spockframework:spock-core:1.1-groovy-2.4-rc-1')
  testCompile('org.spockframework:spock-spring:1.1-groovy-2.4-rc-1')

see: stackoverflow description

About

Spring Boot project which integrates JPA, JUnit and Spock (extended sample from Craig Walls book)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published