Skip to content
Spring Boot RESTful Web Services JUnit Testing example
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src first commit Feb 28, 2018
LICENSE Added license Feb 28, 2018
README.md Added Readme Feb 28, 2018
pom.xml

README.md

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
You can’t perform that action at this time.