spring-boot-starter-test

org.springframework.boot : spring-boot-starter-test

Starter for testing Spring Boot applications with libraries including JUnit Jupiter, Hamcrest and Mockito

Jan 20, 2022
6.7k usages
59k stars

Add dependency in Maven / Gradle

<!-- https://jmaven.com/dependency/org.springframework.boot/spring-boot-starter-test --> 
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-test</artifactId>
    <version>2.6.3</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.springframework.boot:spring-boot-starter-test library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-test</artifactId>
  <version>2.6.3</version>
</dependency>
</dependencies>

To install org.springframework.boot:spring-boot-starter-test library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.springframework.boot:spring-boot-starter-test library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-test:2.6.3'
}

Gradle Kotlin DSL: Add the org.springframework.boot:spring-boot-starter-test library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.springframework.boot:spring-boot-starter-test:2.6.3")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.springframework.boot:spring-boot-starter-test library to your build.sbt file:

libraryDependencies += "org.springframework.boot" % "spring-boot-starter-test" % "2.6.3"

4. Add dependency to a Grape project

Grape: Add an annotation org.springframework.boot:spring-boot-starter-test library to your groovy script file:

@Grapes(
    @Grab('org.springframework.boot:spring-boot-starter-test:2.6.3')
)

Compile Dependencies (14)

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage

Recommended for You

jME3 Stack alloc

1 usages

Generated stubs to use Payzen v5 Web Services

0 stars

AsciidoctorJ macro to create links to git repositories

1 stars

WebJar for jquery-confirm

223 stars

More from Group

Starter for testing Spring Boot applications with libraries including JUnit Jupiter, Hamcrest and Mockito

6.7k usages
59k stars

Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container

6.4k usages
59k stars

Spring Boot Configuration Annotation Processor

5.3k usages
59k stars

Spring Boot AutoConfigure

4.7k usages
59k stars

Core starter, including auto-configuration support, logging and YAML

4.6k usages
59k stars
© 2022 JMaven.com