DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Testing Spring Boot Applications [Video]

Testing Spring Boot Applications [Video]

In this talk we’ll cover the host of new features that have been added to Spring Boot 1.4 to help with testing everything from MVC controllers, marshaling, and more.

Pieter Humphrey user avatar by
Pieter Humphrey
CORE ·
Dec. 26, 16 · Java Zone · Tutorial
Like (2)
Save
Tweet
6.23K Views

Join the DZone community and get the full member experience.

Join For Free

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 marshaling 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.

Recorded at SpringOne Platform 2016.
Speaker: Phil Webb

Spring Framework Spring Boot unit test application

Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • 12 Modern CSS Techniques For Older CSS Problems
  • Hard Things in Computer Science
  • DZone's Article Submission Guidelines
  • What Is Kafka? Everything You Need to Know

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo