Skip to content

Example of a RESTful web service using Spring Boot - with an integration test.

Notifications You must be signed in to change notification settings

manub/example-spring-boot-webservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Spring Boot web service

Purpose of this small project is to highlight how to create a RESTful web service using Spring Boot and how to test it using the Spring MockMVC class as (at least for me!) from the documentation is not 100% clear.

Instructions

./gradlew build

will build the project and run all the tests (in this case, GreetingIntegrationTest).

Have a look at GreetingIntegrationTest to see usage of MockMVC.

For anything, feel free to contact me at emanuele.blanco@gmail.com

About

Example of a RESTful web service using Spring Boot - with an integration test.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published