Master JUnit 5, Mockito with Spring Boot Real World Project
Published 9/2025
Duration: 11h 43m | .MP4 1280x720 30 fps(r) | AAC, 44100 Hz, 2ch | 5.84 GB
Genre: eLearning | Language: English
Published 9/2025
Duration: 11h 43m | .MP4 1280x720 30 fps(r) | AAC, 44100 Hz, 2ch | 5.84 GB
Genre: eLearning | Language: English
Learn Concepts of JUnit 5, Mockito, and end-to-end Testing in Spring Boot Industry Level Project | Detailed Explanation
What you'll learn
- Create a Spring Boot App
- @Test and Assertions
- Various ways to Run Test Methods
- Structuring Test Method - GIVEN WHEN THEN
- Assertion Error Message
- Assertions for boolean
- Assertions for null
- Multiple Assertions in a Test Method
- Assertions of Exception
- Static Import of Assertions
- @Disabled and fail()
- Build a Real Time Spring Boot Project
- Service Layer Basic Test
- @TestMethodOrder
- Service Layer Parameterized Test
- @ParameterizedTest
- @CsvFileSource
- @CsvSource
- @MethodSource
- @TestInstance
- @BeforeEach
- @AfterEach
- @BeforeAll
- @AfterAll
- Lifecycle Methods
- Code Coverage
- maven-surefire-report-plugin
- Jacoco
- Mockito
- @Mock
- Mockito.when()
- Mockito.then()
- Mockito.any()
- WebMvc - Testing Controller Layer
- @WebMvcTest
- @MockitoBean
- MockMvcRequestBuilders
- MockMvc
- Testing Entity Layer
- @DataJpaTest
- TestEntityManager
- Testing Repository Layer
- Query Methods - @Query
- Integration Testing - Testing All Layers Together
- @SpringBootTest Annotation with webEnvironment
- TestRestTemplate
- Azure Database
- TDD - Test Driven Development
Requirements
- Basics of Java
- Basics of Spring Boot
Description
This course aims at teaching all concepts of JUnit 5 Testing Framework with Detailed Explanation. Become Expert at Writing Test Cases of all Layers of Spring Boot Code.
This course includes creation of Read World - Industry Level Spring Boot Project containing all the layers of coding - Controller Layer, Service Layer, Entity Layer, Repository Layer, DTO Layer, Custom Exception Layer etc.
This course also includes connecting to Azure Database which includes creation of Resource Group, SQL Server, SQL Database, Creating Admin User etc in Azure.
Learn all these topics and many more with this course:
Create a Spring Boot App
@Test and Assertions
Various ways to Run Test Methods
Structuring Test Method - GIVEN WHEN THEN
Assertion Error Message
Assertions for boolean
Assertions for null
Multiple Assertions in a Test Method
Assertions of Exception
Static Import of Assertions
@Disabled and fail()
Build a Real Time Spring Boot Project
Service Layer Basic Test
@TestMethodOrder
Service Layer Parameterized Test
@ParameterizedTest
@CsvFileSource
@CsvSource
@MethodSource
@TestInstance
@BeforeEach
@AfterEach
@BeforeAll
@AfterAll
Lifecycle Methods
Code Coverage
maven-surefire-report-plugin
Jacoco
Mockito
@Mock
Mockito.when()
Mockito.then()
Mockito.any()
WebMvc - Testing Controller Layer
@WebMvcTest
@MockitoBean
MockMvcRequestBuilders
MockMvc
Testing Entity Layer
@DataJpaTest
TestEntityManager
Testing Repository Layer
Query Methods - @Query
Integration Testing - Testing All Layers Together
@SpringBootTest Annotation with webEnvironment
TestRestTemplate
Azure Database
TDD - Test Driven Development
Who this course is for:
- Java and Spring Boot Developers who want to be expert at writing Test Cases
More Info