Skip to content

Module 14 · Testing Fundamentals

Beyond the 1Z0-830 exam

Testing isn't on the 1Z0-830 — but every lab in this course is a JUnit 5 test, and testing is the core SDET skill. This module is the test author's toolkit: JUnit 5, parameterized tests, test doubles with Mockito, fluent assertions with AssertJ, and the discipline of deterministic tests.

The test author's toolkit. After this module the JUnit-based labs you've been reading will be something you can write — and write so they stay fast, readable, and reliable.

Lessons

#LessonWhat it covers
01JUnit 5 EssentialsLifecycle, assertions, assumptions, @DisplayName, asserting exceptions.
02Parameterized & Structured Tests@ParameterizedTest + sources, @Nested, dynamic tests, tags.
03Test Doubles & MockitoStubs/mocks/spies/fakes, verify, captors, when to mock.
04Readable Assertions & Deterministic TestsAssertJ, FIRST, injecting Clock, controlling randomness.

Module Mini-Exam

A mixed quiz over this module. Since this is beyond-exam material, treat it as a self-check rather than exam simulation.

Mini-Exam

  • 7 questions
  • 12 minutes
  • 7 total points
  • Pass: 5 pts (68%)