Tagged articles

Given-When-Then

2 articles · Page 1 of 1
The Dominant Programmer
The Dominant Programmer
Jun 6, 2026 · Backend Development

Mockito Unit Testing: A Complete Guide to Testing Java Service Layers

This article explains unit testing fundamentals, compares unit and integration tests, introduces Mockito's core annotations and APIs, walks through a full order‑resend example with detailed test cases, and covers best‑practice methodologies, advanced techniques, common pitfalls, naming conventions, and how to run the tests.

Given-When-ThenJUnit5Java
0 likes · 21 min read
Mockito Unit Testing: A Complete Guide to Testing Java Service Layers
FunTester
FunTester
May 16, 2022 · Fundamentals

Quick and Structured Test Case Writing with GIVEN‑WHEN‑THEN and Exploratory Scenario Association

This article explains how junior testers and anyone seeking to expand test coverage can quickly and systematically write test cases using the GIVEN‑WHEN‑THEN template, and then apply an exploratory scenario association method to derive additional cases by modifying preconditions, steps, or expected results.

Given-When-ThenTest Case Designexploratory testing
0 likes · 7 min read
Quick and Structured Test Case Writing with GIVEN‑WHEN‑THEN and Exploratory Scenario Association