Oct 20, 2018

[HDGEM] How to add Add Unit Tests to Spring boot Application

Add this to your build file's list of dependencies:
    testCompile("org.springframework.boot:spring-boot-starter-test")
If you are using Maven, add this to your list of dependencies:


        <dependency>              <groupId>org.springframework.boot</groupId>              <artifactId>spring-boot-starter-test</artifactId>              <scope>test</scope>          </dependency>


--
Posted By Blogger to HDGEM at 1/27/2017 01:47:00 PM