TDD with Spring 5 and JUnit 5
by Steven Haines
Gain confidence in the quality of your Spring applications by learning how to write comprehensive unit tests against Spring controllers, services, and repositories, and how to test connecting to a SQL database, MongoDB, and a third-party API.
What you'll learn
Test Driven Development is essential in the production of applications. In this course, Test Driven Development with Spring and JUnit 5, you will learn how to develop robust unit tests for Spring applications. First, you will see how to test each component in your Spring application, including controllers, services, and repositories. Next, you will discover how to test Spring applications that connect to various backend technologies, including a SQL database, MongoDB, and a third-party API. Finally, you will explore how to perform an integration test, from within JUnit, to validate that your application works as one collective unit. When you are finished with this course, you will have the skills and knowledge to use JUnit with Spring to write comprehensive unit tests and gain confidence in the quality of your production applications.
About the author
Steven Haines has worked as a software architect for the last twenty years, most recently as a principal software architect at Turbonomic, focused on their cloud offering. He spent seven years in various architect roles at Disney, beginning as a technical architect on Disney's MyMagic+ program and finishing his tenure as a lead solution architect and principal application architect, overseeing large projects ranging from rolling out Disney Shanghai, replacing the online ticket sales website for ... morethe Hong Kong Disney Resort, and moving PhotoPass to a serverless architecture. He has a passion for application performance and scalability and has spent time working on Application Performance Management applications at Quest Software and AppDynamics. He's the author of Java 2 From Scratch (QUE, 1999), Java 2 Primer Plus (SAMS, 2002), and Pro Java EE Performance Management and Optimization (Apress, 2006). He was the Java Host on InformIT.com, where he contributed weekly articles about Java for nearly ten years, he's a regular contributor to JavaWorld, and he wrote over two dozen white papers on performance, scalability, and cloud-based architectures. He taught computer science and Java courses at Learning Tree University as well as the University of California, Irvine. In his spare time he focuses on building his technical and business acumen by reading books, taking online courses, and building new applications, and spends as much time as he can with his family: his wife Linda of almost 20 years, his son Michael (17), and his daughter Rebecca (9).