SpringOne Platform 2016 Replay: Testing Spring Boot Applications

News | Pieter Humphrey | December 06, 2016 | ...

Recorded at SpringOne Platform 2016. Speaker: Phil Webb Slides: none, all live coding In this talk we'll cover the host of new features that have been added to Spring Boot 1.4 to help with testing. We'll discuss how to unit test your code, how (and when) to involve Spring in your tests, and talk about the various tools and libraries that you should be using. Taking a simple application, we're going to add:

  • Unit tests for basic components
  • Integration Tests for JPA entities and queries
  • Tests for JSON marshalling and unmarshalling
  • Tests for Spring MVC controllers
  • Tests for remote RestTemplate calls (using mocking)
  • End-to-end integration tests (hitting a real HTTP endpoint)

We'll also look a little bit at the internals of Spring's testing support and pick apart how the magic actually works.

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all