Testing Spring Boot: Beginner to Guru
Become an Expert Testing Java and Spring Boot Applications using JUnit 5, Mockito, Spring Boot, and More!
Created by John Thompson, Spring Ahead Code Academy | 17 hours on-demand video course
In modern software development having proper automated test coverage is considered a best practice. In this course you will learn how to test Java and Spring Boot applications using highly popular open source tools.
You will see in the first section of this course, the software testing ecosystem is very diverse. JUnit and Mockito are two of the leading testing libraries for Java. JUnit provides the test execution context, while Mockito give you power mocking capabilities. Together these libraries can be used to write unit tests, integration tests, and functional tests. You will also learn why having proper test coverage is critical to supporting other popular agile practices such as Continuous Integration and Continuous Deployment (aka CI/CD).
Agile teams all over the world consider Test Driven Development (TDD) a critical technique for producing quality software. This course begins by using JUnit 5 to demonstrate how to use TDD to create a simple Java application, then again using TDD to evolve the application to a higher level of quality and functionality.
Next, the course takes you into a deep dive of the features and functionality of JUnit 5. You will learn how to write JUnit 5 unit tests for a Java web application.
The primary focus of this course is on the JUnit 5 release. There are some very notable differences between JUnit 4 and JUnit 5. This course contains a dedicated section showing you how to migrate your JUnit 4 tests to JUnit 5.
What you’ll learn
- Learn Important Concepts behind Test Driven Development
- Understand different types of testing – Unit, Integration, Functional
- Master the JUnit 5 Testing API
- Easily integrate Mockito with JUnit 5 Tests
- Migrate JUnit 4 tests to JUnit 5
- Test Spring Framework Applications with JUnit 5 and Mockito
- Write Unit Tests with Spring MVC Test
- Learn to use testing features of Spring Boot
Recommended Course by John Thompson
Introduction to Kafka with Spring Boot [NEW COURSES]