Upgrade Maven project to Spock 2.0-M3, ... (#35)

* Sync Spock dependency versions
* Now that Spock no longer depends on 'groovy-all', for the database test it was
  necessary to add 'groovy-sql'.
* Make feature method names friendlier in unrolled DatabaseDrivenSpec
* Make IncludeExcludeExtensionSpec print messages
  This way the user can verify visually that in-/excludes actually work as
  expected.
* Upgrade Groovy 2.5.12 -> 2.5.13
* Slightly adjust README.adoc 
  Change passive style "all feedback is appreciated" to active style "we
  appreciate all feedback".
This commit is contained in:
Alexander Kriegisch
2020-08-25 23:27:03 +02:00
committed by GitHub
parent f1491efa0e
commit 744bf74767
6 changed files with 28 additions and 19 deletions
+7 -6
View File
@@ -15,18 +15,19 @@ repositories {
dependencies {
// mandatory dependencies for using Spock
compile "org.codehaus.groovy:groovy-all:2.5.8"
testCompile platform("org.spockframework:spock-bom:2.0-M1-groovy-2.5")
compile "org.codehaus.groovy:groovy:2.5.13"
testCompile platform("org.spockframework:spock-bom:2.0-M3-groovy-2.5")
testCompile "org.spockframework:spock-core"
testCompile "org.spockframework:spock-junit4" // you can remove this if your code does not rely on old JUnit 4 rules
testCompile "org.spockframework:spock-junit4" // you can remove this if your code does not rely on old JUnit 4 rules
// optional dependencies for using Spock
testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used
testRuntime "net.bytebuddy:byte-buddy:1.9.3" // allows mocking of classes (in addition to interfaces)
testRuntime "org.objenesis:objenesis:2.6" // allows mocking of classes without default constructor (together with CGLIB)
testCompile "org.hamcrest:hamcrest-core:2.2" // only necessary if Hamcrest matchers are used
testRuntime "net.bytebuddy:byte-buddy:1.10.10" // allows mocking of classes (in addition to interfaces)
testRuntime "org.objenesis:objenesis:3.1" // allows mocking of classes without default constructor (together with ByteBuddy or CGLIB)
// dependencies used by examples in this project
testRuntime "com.h2database:h2:1.4.197"
compile "org.codehaus.groovy:groovy-sql:2.5.13"
}
// the remaining configuration is specific to this project, and is not required for using Spock