• No hay productos en el carrito.

Inicio / Cursos / Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured
Impartido por Sergey KargopolovPago único de $2,800 MXN · acceso por 12 meses

Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured

Unit Testing & Integration Testing of Java and Spring Boot applications. Test Driven Development(TDD) Explained.

Certificado oficial emitido por la SEPA través del Gobierno del Estado de México
12 meses de acceso En línea · 60 h 16 unidades
Qué aprenderás

Lo que serás capaz de hacer

Unit Testing is a must-have skill and this video course is about unit testing. If you take this video course, you will learn how to test your Java code using JUnit 5 and Mockito framework . This video course is for beginners and you do not need to have any prior Unit testing knowledge to enrol in this course. JUnit 5 in Different Java projects There are different Java projects, build tools and development environments. In this course, you will learn how to create a new project and configure JUnit 5 support for different types of projects, using different development environments and build tools. You will learn how to create a Unit test in: IntelliJ IDEA and Eclipse Development environments. You will learn how to create a Unit test in: Regular Java project , Maven -based Java project, Cradle -based Java project. Course Overview This video course teaches Unit and Integration testing with Java from the very beginning and covers many advanced topics as well. By the end of this course, you will learn: JUnit 5 basics , and JUnit 5 advanced topics. Once you become familiar with JUnit 5, you will learn to use: Test-Driven Development(TDD) You will then learn to use another very popular Test framework for Java called: Mockito You will also learn how to write: Spring Boot integration tests, and Use Testcontainers to integrate real, containerized services(like databases) into your Java application tests, making sure your test scenarios are realistic without complex setup. and how to test API endpoints using REST Assured . By the end of this course you will learn and be able to use all of the following: Create Unit Tests in IntelliJ, Create Unit Tests in Eclipse, Run unit tests using Gradle, Run Unit Tests using Maven, Use @DisplayName annotation, Use JUnit assertions, Test for Exceptions, Use Lifecycle methods (@BeforeAll, @BeforeEach, @AfterEach, @AfterAll), Run unit tests in any order you need: (Random, Order by Name, Order by Index), Disable Unit test, Repeated Tests with @RepeatedTest annotation, Parameterized tests with @Parameterized annotation @ValueSource, @MethodSource, @CsvSource, @CsvFileSource Change Test Instance lifecycle with @TestInstance (PER_CLASS, PER_METHOD) Learn to Mock objects with Mockito's @Mock annotation, Learn to user Mockito's argument matches, Mockito method stubbing, Mockito Exception stubbing, Verify method call, Call Real Method, Do nothing when a method is called, Write integration tests for Spring Boot applications, and more...

  • JUnit 5 - basic & advanced topics
  • Test Web Layer and Controllers
  • Test Java code with Mockito - the most popular Mocking Framework.
  • Test Data layer and JPA Repositories
  • Write Spring Boot Integration Tests
  • Test Business and Service layer classes

Temario

UNIDAD 1 - Introduction · 10 lecciones

UNIDAD 1 - Introduction

  • IntroductionVideo · 3 min
  • Welcome from the instructorVideo · 1 min
  • What is a Unit Test?Video · 8 min
  • Why write Unit Test?Video · 2 min
  • The F.I.R.S.T PrincipleVideo · 4 min
  • Testing Code in IsolationVideo · 5 min
  • Testing PyramidVideo · 2 min
  • Quiz. Basics of Unit TestingCuestionario · 0 min
  • What is JUnit 5?Video · 2 min
  • JUnit and Build ToolsVideo · 1 min
UNIDAD 2 - Add JUnit 5 to Maven project · 3 lecciones

UNIDAD 2 - Add JUnit 5 to Maven project

  • Create new Maven project using IntelliJ IDEAVideo · 3 min
  • Add JUnit DependenciesVideo · 6 min
  • Maven Surefire Plugin [Skip if you use newer version of Spring Boot]Video · 5 min
UNIDAD 3 - Add JUnit 5 to Gradle project · 3 lecciones

UNIDAD 3 - Add JUnit 5 to Gradle project

  • Creating a new projectVideo · 3 min
  • Add JUnit DependenciesVideo · 5 min
  • Executing Unit TestVideo · 2 min
UNIDAD 4 - Add JUnit 5 to a basic Java project · 3 lecciones

UNIDAD 4 - Add JUnit 5 to a basic Java project

  • IntroductionVideo · 1 min
  • Basic Java project with IntelliJVideo · 7 min
  • Basic Java project with EclipseVideo · 7 min
UNIDAD 5 - Basics of JUnit 5 · 18 lecciones

UNIDAD 5 - Basics of JUnit 5

  • IntroductionLectura · 0 min
  • Creating First Unit Test methodVideo · 5 min
  • Assertions and Assertion messageVideo · 2 min
  • Assertion MessageCuestionario · 0 min
  • Other assertionsVideo · 3 min
  • JUnit Test ExerciseVideo · 1 min
  • Exercise solution overviewVideo · 3 min
  • Lazy Assert MessagesVideo · 5 min
  • Naming Unit TestsVideo · 4 min
  • @DisplayName annotationVideo · 3 min
  • Test Method Code Structure. Arrange, Act, Assert.Video · 4 min
  • JUnit Test LifecycleVideo · 4 min
  • Lifecycle methods demoVideo · 6 min
  • Quiz - JUnit Test LifecycleCuestionario · 0 min
  • Disable Unit TestVideo · 3 min
  • Assert an ExceptionVideo · 6 min
  • Assert an Exception - Practice exerciseVideo · 1 min
  • Testing for IllegalArgumentException: Solution overviewLectura · 0 min
UNIDAD 6 - Advanced JUnit 5 · 15 lecciones

UNIDAD 6 - Advanced JUnit 5

  • @ParameterizedTest. Multiple Parameters with @MethodSource.Video · 8 min
  • @ParameterizedTest. Multiple parameters with @CsvSource.Video · 4 min
  • @ParameterizedTest + CSV fileVideo · 5 min
  • @ParameterizedTest + @ValueSource annotation.Video · 3 min
  • Repeated TestsVideo · 8 min
  • Methods Order - Random orderVideo · 3 min
  • Methods Order - Order by nameVideo · 2 min
  • Methods Order - Random by order indexVideo · 4 min
  • Order of Unit Test ClassesVideo · 8 min
  • Methods Execution Order - QuizCuestionario · 0 min
  • Test Instance Lifecycle - IntroductionVideo · 2 min
  • Changing Test Instance Lifecycle - example 1Video · 5 min
  • Test Instance Lifecycle Demo project overviewVideo · 5 min
  • Test Instance Lifecycle Demo Project ImplementationVideo · 9 min
  • Test Instance Lifecycle - QuizCuestionario · 0 min
UNIDAD 7 - Test Driven Development (TDD) in Java · 12 lecciones

UNIDAD 7 - Test Driven Development (TDD) in Java

  • Introduction to the Test Driven Development(TDD) in JavaVideo · 3 min
  • New project, Class, MethodVideo · 2 min
  • Creating UserServiceVideo · 4 min
  • Test Create User methodVideo · 7 min
  • Test User object contains first nameVideo · 4 min
  • Test Driven Development(TDD) - Refactor Test methodVideo · 2 min
  • Test Driven Development(TDD) - ExerciseVideo · 1 min
  • Test Driven Development(TDD) - Solution overviewVideo · 1 min
  • Check if user id is setVideo · 4 min
  • Assert throws ExceptionVideo · 8 min
  • TDD - Exercise 2Video · 2 min
  • Test Driven Development in Java - Quiz.Cuestionario · 0 min
UNIDAD 8 - Mockito - Create Mocks to test Java code in isolation · 14 lecciones

UNIDAD 8 - Mockito - Create Mocks to test Java code in isolation

  • Introduction to MockitoVideo · 4 min
  • Adding Mockto to a Java projectVideo · 2 min
  • Method under test overviewVideo · 2 min
  • Implementing UsersRepositoryVideo · 3 min
  • Injecting UsersRepository as DependencyVideo · 4 min
  • Mockito - Creating a Mock objectVideo · 3 min
  • Stubbing using built-in any() argument matcherVideo · 5 min
  • Mockito - Verify method callVideo · 7 min
  • Mockito - Exception stubbingVideo · 6 min
  • Creating EmailNotificationService classVideo · 4 min
  • Mockito - Stub a void method with ExceptionVideo · 5 min
  • Mockito - Do nothing when method is calledVideo · 2 min
  • Mockito - Call a real methodVideo · 4 min
  • Mockito - QuizCuestionario · 0 min
UNIDAD 9 - Code Coverage - Identify untested code in your Java application · 7 lecciones

UNIDAD 9 - Code Coverage - Identify untested code in your Java application

  • Code Coverage - IntroductionVideo · 4 min
  • Generating JUnit Code Coverage report with IntelliJVideo · 5 min
  • Export JUnit Code Coverage Report using IntelliJVideo · 3 min
  • Export JUnit Test Report using MavenVideo · 7 min
  • Jacoco - Maven Plugin for Code CoverageVideo · 3 min
  • Jacoco - Export Code Coverage Report in HTML formatVideo · 4 min
  • Code Coverage - QuizCuestionario · 0 min
UNIDAD 10 - Spring Boot (Part 1) - Testing Rest Controllers · 13 lecciones

UNIDAD 10 - Spring Boot (Part 1) - Testing Rest Controllers

  • Introduction to JUnit Testing of Spring Boot ApplicationVideo · 3 min
  • Introduction to Integration Testing of Web LayerVideo · 2 min
  • Introduction to Integration Testing of All Layers in Spring Boot applicationVideo · 2 min
  • Adding Testing Support to a Spring Boot ApplicationVideo · 5 min
  • Existing Project overview + Source codeVideo · 8 min
  • New Test Class. @WebMvcTest & @AutoConfigureMockMvc.Video · 5 min
  • RequestBuilder - Building and Performing HTTP RequestVideo · 9 min
  • @MockBean - Mocking Service LayerVideo · 7 min
  • @MockBean annotation - Trying how it works.Video · 4 min
  • Assert for BAD_REQUESTVideo · 8 min
  • Testing Rest Controller - Practice exerciseLectura · 0 min
  • Testing Rest Controller - Practice exercise solution overviewVideo · 3 min
  • Testing Spring Boot application - QuizCuestionario · 0 min
UNIDAD 11 - Spring Boot (Part 2) - Testing All layers · 16 lecciones

UNIDAD 11 - Spring Boot (Part 2) - Testing All layers

  • Testing All layers of Spring Boot Application - IntroductionVideo · 1 min
  • @SpringBootTest annotationVideo · 2 min
  • @SpringBootTest WebEnvironment MOCKVideo · 2 min
  • @SpringBootTest: Defined Port NumberVideo · 4 min
  • @TestPropertySource. Loading alternative configuration.Video · 7 min
  • @SpringBootTest: Random Port NumberVideo · 3 min
  • Test Create User - User Details JSONVideo · 2 min
  • TestRestTemplate - Prepare & Perform HTTP Post RequestVideo · 8 min
  • Trying how it worksVideo · 3 min
  • Test JWT is RequiredVideo · 6 min
  • Test User Login WorksVideo · 10 min
  • Order Test MethodsVideo · 4 min
  • GET /users. Include JWT Token in the RequestVideo · 11 min
  • Source codeLectura · 0 min
  • More lessons are about to be uploadedLectura · 0 min
  • Spring Boot Integration Testing - QuizCuestionario · 0 min
UNIDAD 12 - Spring Boot(Part 3). Testing Data Layer Only. JPA Entities. · 7 lecciones

UNIDAD 12 - Spring Boot(Part 3). Testing Data Layer Only. JPA Entities.

  • Introduction to testing JPA Entities in Spring Boot applicationVideo · 6 min
  • JPA Entity Overview + Source CodeVideo · 4 min
  • Test that UserEntity can be persistedVideo · 8 min
  • Test UserEntity cannot be persisted with invalid user's first nameVideo · 4 min
  • Excersize - Test that UserId is UniqueVideo · 2 min
  • Excersize solution + Source codeVideo · 4 min
  • Testing Data Layer of Spring Boot Application - QuizCuestionario · 0 min
UNIDAD 13 - Testing JPA Repositories · 5 lecciones

UNIDAD 13 - Testing JPA Repositories

  • Introduction to testing JPA RepositoriesVideo · 5 min
  • Testing Find By Email Query MethodVideo · 6 min
  • Excersize - Test Find By User Id Query MethodVideo · 1 min
  • Excersize solution overview + Source codeVideo · 3 min
  • Test JPQL Query + Source codeVideo · 6 min
UNIDAD 14 - Integration testing with Testcontainers · 13 lecciones

UNIDAD 14 - Integration testing with Testcontainers

  • Introduction to TestcontainersVideo · 6 min
  • System Under Test(SUT) overview + Source CodeVideo · 5 min
  • Adding support for Testcontainers to a Spring Boot applicationVideo · 4 min
  • @Testcontainers annotation: Enable Testcontainers in a Test classVideo · 3 min
  • @Container annotation: Creating a MySQL containerVideo · 6 min
  • @DynamicPropertySource annotation. Connecting to MySQL container.Video · 7 min
  • Test if container is runningVideo · 4 min
  • @ServiceConnection annotation: Connecting to MySQL container.Video · 3 min
  • MySQL Container: Test User can be createdVideo · 5 min
  • Order test methodsVideo · 6 min
  • PostgreSQL Testcontainers configurationLectura · 0 min
  • 'Oracle Free' Testcontainers configurationLectura · 0 min
  • Apache Kafka Testcontainers configurationLectura · 0 min
UNIDAD 15 - Testing RESTful Web Services(REST APIs) with REST Assured · 25 lecciones

UNIDAD 15 - Testing RESTful Web Services(REST APIs) with REST Assured

  • REST Assured - IntroductionVideo · 6 min
  • Overview of an Application Under TestVideo · 6 min
  • Introduction to an initial test classVideo · 6 min
  • Adding Rest Assured to Spring Boot applicationVideo · 2 min
  • Recap: Adding REST Assured Maven DependencyLectura · 0 min
  • Creating a new test methodVideo · 3 min
  • Given-When-Then formatVideo · 2 min
  • Recap: Given-When-ThenLectura · 0 min
  • given() - Setting up HTTP HeadersVideo · 5 min
  • given() - Setting up HTTP BodyVideo · 5 min
  • when() - Sending HTTP RequestVideo · 8 min
  • then() - Extract and Validate HTTP Response BodyVideo · 5 min
  • then() - Extract and validate HTTP ResponseVideo · 5 min
  • then() - validate HTTP Response using REST Assured methodsVideo · 5 min
  • Log() - Logging HTTP Request Details in REST AssuredVideo · 3 min
  • Log() - Logging HTTP Response Details in Rest AssuredVideo · 3 min
  • Request and Response Logging filters in REST AssuredVideo · 6 min
  • Summary: Request and Response Logging filtersLectura · 0 min
  • Using Request Specification in REST AssuredVideo · 5 min
  • Using Response Specification in REST AssuredVideo · 7 min
  • Testing /login API EndpointVideo · 13 min
  • Testing Protected API endpoint - GET /users/{userId}Video · 12 min
  • Testing /users/{userId} - Negative scenario.Lectura · 0 min
  • Query String Request Parameters in REST AssuredVideo · 10 min
  • Next lessonLectura · 0 min
UNIDAD 16 - What's next? · 2 lecciones

UNIDAD 16 - What's next?

  • Let's connect!Lectura · 0 min
  • Bonus lectureLectura · 0 min
Certificado oficial

Tu certificado lo emite la SEP, no solo una plataforma

Al demostrar la competencia recibes un certificado emitido por la Secretaría de Educación Pública a través del Gobierno del Estado de México: un documento oficial que puedes presentar con confianza ante cualquier empleador o institución.

Tu certificado con INEC

  • Lo emite la Secretaría de Educación Pública (SEP), a través del Gobierno del Estado de México
  • Documento oficial con folio verificable en línea
  • Lo otorga la Universidad Tecnológica Fidel Velázquez

Otras plataformas en línea

  • Constancia privada emitida por la misma plataforma
  • Solo acredita horas cursadas o asistencia
  • Sin respaldo de una autoridad educativa
Cómo funciona

Tu itinerario, de la inscripción al certificado

  1. 1

    Inscripción con pago único

    Pagas $2,800 MXN una sola vez y entras de inmediato al curso.

  2. 2

    Estudias a tu ritmo

    16 unidades con videos, lecturas y actividades, disponibles 24/7 durante 12 meses.

  3. 3

    Cuestionarios por unidad

    11 cuestionarios para comprobar lo aprendido.

  4. 4

    Certificado

    Emitido por la SEP a través del Gobierno del Estado de México, con folio verificable.

Lo que obtienes

Un certificado oficial de la SEP

Muestra del certificado: Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured

Muestra · verificable por folio y QR

  • Emitido por la Secretaría de Educación Pública (SEP), a través del Gobierno del Estado de México. No es una constancia privada: es un documento oficial, y ese respaldo marca la diferencia frente a otras plataformas en línea.
  • Contenido impartido por Sergey Kargopolov.
  • Folio y QR verificables para compartirlo con quien te contrate.
Medios que necesitas
Equipo de cómputo Conexión estable a internet
Pago único

Empieza hoy, a tu ritmo

Un solo pago y acceso inmediato al curso completo durante 12 meses.

  • 16 unidades · 166 lecciones · 60 h
  • 12 meses de acceso
  • 11 cuestionarios de evaluación
  • Certificado emitido por la SEP (Gob. del Estado de México) con folio verificable
Pago único
$2,800MXN
Acceso por 12 meses
Inscribirme Hablar con un asesor
Preguntas frecuentes

Sobre tu inscripción

¿Cómo es el pago?

Un solo pago de $2,800 MXN. No hay mensualidades ni cargos recurrentes.

¿Cuánto tiempo tengo acceso?

12 meses desde tu inscripción, 24/7, para avanzar a tu ritmo.

¿Quién imparte el contenido?

El curso es impartido por Sergey Kargopolov; INEC gestiona tu inscripción, evaluación y certificado.

¿Qué pasa cuando vence mi acceso?

Puedes renovar tu cuenta tú mismo desde la plataforma, sin trámites ni esperas.

Certificado emitido por la SEP a través del Gobierno del Estado de México · Testing Java: JUnit 5, Mockito, Testcontainers, REST Assured

Inscribirme
  INEC es una Marca de SalesPartners Ciudad de México S de RL de CV. Template Design © Learnify LMS. All rights reserved. Terminos y Condiciones Aviso de Privacidad Politica de Devolución
Hide picture