thepointman.dev_

Courses / Java

Testing Mastery

intermediate12 lessons

The test pyramid and what 'unit' really means, JUnit 5's Platform/Jupiter/Vintage split and the extension model, parameterized and dynamic tests, test doubles taxonomy (dummy/stub/fake/mock/spy — not just Mockito names), Mockito internals (proxy-based), ArgumentCaptor, TestContainers for real databases, TDD red-green-refactor, PITest mutation testing, and JMH benchmarking.

// Lessons

  1. 01

    The Test Pyramid — Unit, Integration and E2E in Balance

    soon
  2. 02

    JUnit 5 Architecture — Platform, Jupiter and Vintage

    soon
  3. 03

    JUnit 5 Lifecycle — @BeforeAll, @AfterEach and the Order

    soon
  4. 04

    JUnit 5 Extensions — @ExtendWith and Building a Custom Extension

    soon
  5. 05

    Parameterized Tests — ValueSource, CsvSource, MethodSource

    soon
  6. 06

    Test Doubles — Dummy, Stub, Fake, Mock, Spy (The Theory)

    soon
  7. 07

    Mockito — @Mock, @Spy, @InjectMocks in Depth

    soon
  8. 08

    Mockito — ArgumentCaptor, Verification Modes and Custom Answers

    soon
  9. 09

    Spring Test Slices — @WebMvcTest, @DataJpaTest and Context Cost

    soon
  10. 10

    TestContainers — Real Databases in Tests

    soon
  11. 11

    TDD — Red-Green-Refactor in Practice

    soon
  12. 12

    Mutation Testing with PITest and Microbenchmarking with JMH

    soon