Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

SpringOne Platform 2016 Replay: Testing With Spring Framework 4.3, JUnit 5, and Beyond [Video]

DZone's Guide to

SpringOne Platform 2016 Replay: Testing With Spring Framework 4.3, JUnit 5, and Beyond [Video]

Spring has added testing support and is making it a priority for Spring 5. See how JUnit and Spring work together to cover your Java testing needs.

· Java Zone
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

Recorded at SpringOne Platform 2016.

Speaker: Sam Brannen, Swiftmind

Slides: http://www.slideshare.net/SpringCentral/testing-with-spring-43-junit-5-and-beyond

Curious about what’s new in Spring’s testing support in 4.3 or what’s on the horizon in Spring 5 and JUnit 5? Then join Sam Brannen, Spring Test component lead and JUnit 5 core committer, to find out! The first part of this session will give attendees an overview of the latest core integration testing improvements in Spring 4.3 such as the new SpringRunner alias for the SpringJUnit4ClassRunner, the omission of @ContextConfiguration when it can be inferred, support for @Sql and @SqlGroup as composed annotations, limiting the context cache size within a test suite, and the new ContextCustomizer API for customizing a test’s ApplicationContext.

The next part will cover recent improvements in Spring MVC Test such as server-side testing support for expectations on response headers, form data processing, JSON prefixes in response content, custom HTTP verbs, and verifying that a specific controller method was invoked as well as client-side REST testing support for indicating how many times a request is expected and expectations for form data in the request body. The focus will then shift to what kinds of testing features to expect in Spring Framework 5.0. And last, but certainly not least, Sam will dive into live examples using Spring Framework’s upcoming support for JUnit 5 for modern testing on Java 8 and beyond.

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:
java ,spring platform ,junit ,unit testing ,tutorial

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

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}