January 27, 2017

[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
Post a Comment

Featured Post

The new Dell XPS 13’s overall design is 30% thinner and lighter than its predecessor

The new Dell XPS 13 has twice the performance of the XPS 13 launched in 2015, as well as improved battery life that should enable the model...