Spring Boot Starter Test Dependency

This page gives you a quick reference to get Spring Boot Starter Test dependency for Maven or Gradle projects. 

You can also download the Spring Boot Starter Test dependency, the link given at the "Download JAR File" section.

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

Spring Boot Starter Test Maven Dependency

Copy below maven dependency and paste in your project pom.xml file:
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-test</artifactId>
</dependency>

Spring Boot Starter Test Gradle Dependency

Copy below Gradle dependency and paste it into your project build.gradle file:

testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-test'

Download JAR File

Check for Latest Release

References


Comments