Developing Real-Time Spring Boot Unit & Integration Testing

Developing Real-Time Spring Boot Unit Tests and Integration Tests : JUnit 5, Mockito and Test Container

4.63 (8 reviews)
Udemy
platform
English
language
Software Testing
category
Developing Real-Time Spring Boot Unit & Integration Testing
174
students
3.5 hours
content
Mar 2023
last update
$49.99
regular price

What you will learn

Understanding how to build unit tests

Understanding how to build integration tests

Working with test containers

Using Junit and Mockito to implment unit testing

Apply Test Driven Development (TDD) using JUnit 5, Mockito and Spring Boot

Spring Boot developers with JUnit and Mockito testing are in HIGH-DEMAND.

You can download all source code for offline LEARNING and REVIEW.

Why take this course?

Spring Boot :

Is the most popular framework for building enterprise Java applications. Spring Boot includes testing support to develop unit tests and integration tests using JUnit, Mockito and MockMvc. By developing tests, you can create applications with better code design, fewer bugs, and higher reliability. This course shows you how to take full advantage of Spring Boot's testing support.


JUnit :

  • Develop JUnit Tests

  • Set up projects to use JUnit

  • Apply JUnit assertions: Equals/Not Equals and Null/NotNull

  • Apply JUnit assertions: Same/Not Same and True/False

  • Leverage JUnit lifecycle annotations

  • Define custom display names for JUnit tests

  • Check for exceptions and timeouts

  • Define execution order in JUnit tests

  • Perform code coverage analysis for JUnit tests

  • Apply conditionals with JUnit tests


Test Driven Development (TDD) : 

  • Apply Test Driven Development for build tests and application code.

  • Create a failing test first.

  • Update your code to make the tests pass.

  • Take your tests from RED to GREEN.

  • Apply TDD to a coding project.

  • Leverage parameterized tests with TDD.


Mocking with Mockito :

  • Identify the need for mocking during test development

  • Leverage Mockito in JUnit tests

  • Applying the @MockBean annotation for injection

  • Throwing exceptions with Mocks


Database Integration Testing :

  • Identify the need for database integration testing during test development

  • Add database setup and clean code using @BeforeEach and @AfterEach

  • Leverage an embedded database to ease with testing setup and maintenance.



Screenshots

Developing Real-Time Spring Boot Unit & Integration Testing - Screenshot_01Developing Real-Time Spring Boot Unit & Integration Testing - Screenshot_02Developing Real-Time Spring Boot Unit & Integration Testing - Screenshot_03Developing Real-Time Spring Boot Unit & Integration Testing - Screenshot_04

Charts

Price

Developing Real-Time Spring Boot Unit & Integration Testing - Price chart

Rating

Developing Real-Time Spring Boot Unit & Integration Testing - Ratings chart

Enrollment distribution

Developing Real-Time Spring Boot Unit & Integration Testing - Distribution chart

Related Topics

4736938
udemy ID
6/16/2022
course created date
3/10/2023
course indexed date
Bot
course submited by