MVN

org.testcontainers : spock

Maven & Gradle

Aug 21, 2023
15 usages
8k stars

Testcontainers :: Spock-Extension · Isolated container management for Java code testing

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>spock</artifactId>
    <version>1.19.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.testcontainers : spock to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.19.0
  • Latest Release Candidate: 1.15.0-rc2

All Versions

Choose a version of org.testcontainers : spock to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.19.x
spock-1.19.0
1.18.x
spock-1.18.3
spock-1.18.2
spock-1.18.1
spock-1.18.0
1.17.x
spock-1.17.6
spock-1.17.5
spock-1.17.4
spock-1.17.3
spock-1.17.2
spock-1.17.1
spock-1.17.0
1.16.x
spock-1.16.3
spock-1.16.2
spock-1.16.1
spock-1.16.0
1.15.x
spock-1.15.3
spock-1.15.2
spock-1.15.1
spock-1.15.0
spock-1.15.0-rc2
spock-1.15.0-rc1
1.14.x
spock-1.14.3
spock-1.14.2
spock-1.14.1
spock-1.14.0
1.13.x
spock-1.13.0
1.12.x
spock-1.12.5
spock-1.12.4
spock-1.12.3
spock-1.12.2
spock-1.12.1
spock-1.12.0
1.11.x
spock-1.11.4
spock-1.11.3
spock-1.11.2
spock-1.11.1
spock-1.11.0
1.10.x
spock-1.10.7
spock-1.10.6
spock-1.10.5
spock-1.10.4
spock-1.10.3
spock-1.10.2
spock-1.10.1
spock-1.10.0
1.9.x
spock-1.9.1
spock-1.9.0
1.8.x
spock-1.8.3
spock-1.8.2
spock-1.8.1
spock-1.8.0
1.7.x
spock-1.7.3
spock-1.7.2
spock-1.7.1
spock-1.7.0

How to add a dependency to Maven

Add the following org.testcontainers : spock maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>spock</artifactId>
    <version>1.19.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.testcontainers : spock gradle dependency to your build.gradle file:

implementation 'org.testcontainers:spock:1.19.0'

Gradle Kotlin DSL: Add the following org.testcontainers : spock gradle kotlin dependency to your build.gradle.kts file:

implementation("org.testcontainers:spock:1.19.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.testcontainers : spock sbt scala dependency to your build.sbt file:

libraryDependencies += "org.testcontainers" % "spock" % "1.19.0"

Advertisement