Skip to content

mingnel123/spring-restful-service-unit-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot RESTful Web Services JUnit Testing example

Example on how to Unit Test RESTful Web Services using Spring Boot Test framework. It uses MockMvc to provide Spring MVC infrastructure without starting the HTTP Server. SpringRunner and @WebMvcTest provide rest of the environment for unit testing.

Related Article

Refer RESTful Web Services Unit Testing with Spring Boot for detailed article.

Technology Stack

  • Spring Boot 1.4.1.RELEASE
  • Spring Data JPA
  • Database – PostgreSQL
  • JDK 8

About

Spring Boot RESTful Web Services JUnit Testing example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%