Registry / testing / spock-core

spock-core

JSON →
library2.4-groovy-3.0javamavenunverified

A testing and specification framework for Java and Groovy with a highly expressive specification language.

<dependency> <groupId>org.spockframework</groupId> <artifactId>spock-core</artifactId> <version>2.4-groovy-3.0</version> </dependency>
INSTALL
IMPORT
SIG · SPOCK-CORE
S
spock-core
testingjavav2.4-groovy-3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Specification
spock.lang.Specification

Defines a Spock specification with a simple test.

import spock.lang.Specification class MySpec extends Specification { def "addition should work"() { expect: 1 + 1 == 2 } }
Debug
Known issues
breakingSpock 2.x requires Groovy 3.x; Spock 1.x uses Groovy 2.x.
fix
Ensure Groovy version matches Spock version (e.g., Spock 2.4-groovy-3.0 requires Groovy 3.0).
affects: >=2.0
Upgrade
Version history
2.4-groovy-3.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Resources
spock-core — mvn dependency:get spock-core · libregistry