Introducing the Three-Phase Paradigm

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Introducing the Three-Phase Paradigm

The Record → Replay → Review workflow is engineered to directly address these historical shortcomings by restructuring the UI testing process into three distinct, synergistic phases.

Core Philosophy: From Brittle Scripts to Robust Quality Gates

This new workflow represents a philosophical shift in how UI testing is perceived and utilized. It moves the focus from the narrow question of “Did the test pass?” to the much more valuable inquiry, “What did we learn from this test run?” This approach is particularly well-suited for modern declarative UI frameworks like SwiftUI, where the view is a function of its state, and small state changes can have wide-ranging effects on the UI.  

Feature Dimension Legacy “Record & Play” New “Record → Replay → Review”
Test Stability Low. Highly susceptible to UI text and layout changes. High. Prioritizes stable accessibility identifiers.
Maintenance Overhead High. Frequent updates required for non-functional changes. Low. Resilient to cosmetic UI adjustments.
Debugging & Analysis Limited. Provides a simple pass/fail result with logs. Comprehensive. Interactive workbench with visual diffs.
Performance Insight None. Requires separate profiling with Instruments. Integrated. Automatic capture of CPU, memory, and launch time.
Accessibility Insight None. Requires manual auditing. Integrated. Automated audit for common accessibility issues.
Ease of Initial Creation Easy. Low barrier to entry. Easy. Enhanced recorder guides towards best practices.
See forum comments
Download course materials from Github
Previous: Introduction to UI Testing Next: Introducing the Sample Project