SoftwareTestPilot

Chapter 4 – Test Techniques

Red-Green-Refactor – ISTQB Definition

Last Updated: July 12, 2026 · SoftwareTestPilot QA Team

Official ISTQB Definition

The three-step cycle of test-driven development: write a failing test (red), make it pass with minimal code (green), then improve the design (refactor).

In simple words

Write a failing test, make it pass, then clean it up. Repeat.

Exam tip

This tight loop is the essence of TDD — skip refactor and code rots.

Related terms

Practice this term in the ISTQB Mock Test

40 CTFL v4.0 questions, 60-minute timer, instant scoring and chapter-wise breakdown.

Practice in Mock Test