Book Image

Spring 5 in 7 Days [Video]

By : Ankit Mishra
Book Image

Spring 5 in 7 Days [Video]

By: Ankit Mishra

Overview of this book

<p>The Spring framework is a popular choice for developers when designing an enterprise-based application. Get set for an incredible journey.</p> <p>This course is your one-stop guide to learning and building applications using the Spring framework in 7 days. The Spring framework enables developers to create high-performing, reusable, easily testable, and loose coupling enterprise Java applications. It can be used to develop any Java application. By the end of the course, you'll have a solid knowledge of the Spring framework and modules and will be able to build enterprise-grade Java applications in 7 days.</p> <p>All the code and supporting files for this course are available on GitHub at&nbsp;<a href="https://github.com/PacktPublishing/Spring-5-in-7-Days-V-" target="_blank">https://github.com/PacktPublishing/Spring-5-in-7-Days-V-</a></p> <h1>Style and Approach</h1> <p>This is a fast-paced course offering practical and actionable guidance with step-by-step instructions and assignments. This course will enable you to efficiently use the Spring 5 framework to build an enterprise Java web application in 7 days.</p>
Table of Contents (7 chapters)
Chapter 7
Application Testing Using MockMvc and Mockito
Content Locked
Section 3
Request Post Processors and Request Builder
This video explains how to use MockMvc object to perform get and post requests and expect the result, and how to do the form loginsusing MockMvc test cases. - Learn about RequestPostProcessor configuration and static import. - Explore post and get requests to different methods of controllers/service - Perform form logins by creating multiple mock scenarios. Expect the result in test cases