Mockito topics
12 short topics in Testing and Quality Engineering. Each one is a single focused exercise with a clear piece of evidence at the end.
12 topics, one exercise each.
Work through them in order, or jump to the one you need.
These are draft topic outlines (draft; instructor review pending). Full lessons follow after review; ask Ajay if you need a topic sooner.
- 01
Request or invocation matching
Demonstrate request or invocation matching in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 02
Stubbed response construction
Demonstrate stubbed response construction in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 03
Interaction verification
Demonstrate interaction verification in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 04
Stateful mock scenarios
Demonstrate stateful mock scenarios in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 05
Error and latency simulation
Demonstrate error and latency simulation in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 06
Fixture payload organization
Demonstrate fixture payload organization in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 07
Contract compatibility
Demonstrate contract compatibility in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 08
Test isolation and reset
Demonstrate test isolation and reset in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 09
Application integration
Demonstrate application integration in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 10
Protocol and transport boundaries
Demonstrate protocol and transport boundaries in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 11
Mock diagnostics
Demonstrate mock diagnostics in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course → - 12
Avoiding misleading test doubles
Demonstrate avoiding misleading test doubles in a focused Mockito example; verify normal behavior and one edge or failure case. Keep the exercise bounded and record the behavior supported by the chosen version.
Open micro-course →
Learn the same ideas beyond Mockito.
These courses share topics with this one, so you can compare how each language or tool handles the same concept.
More in Testing quality and performance.
You have the curiosity.
Let’s turn it into capability.
Start with a practical workshop or bring a specific question to Ajay.