Swift Testing
by Design
Designing Tests from Different Perspectives
Master the transition from BDD to TDD in Swift and SwiftUI. Build resilient, architecturally sound apps through two distinct testing tracks.

Help me decide if this book should exist.
I believe in building things people actually want. To ensure this book is a valuable resource worth the hundreds of hours of writing, I won't finish the manuscript unless at least 100 developers show interest. This is a collaborative effort to validate the demand for modern Swift testing architecture.
Be the first! We need 100 people to commit to making this a reality.
Cast Your Vote: Make it Happen
Transparency first: Your interest directly determines if I write the final chapters.
Master Testing Through Two Distinct Perspectives.
This book covers both sides of testing TDD and BDD from both perspectives of starting from a new app as well as integrating it into an existing app. The main focus of this book is to cover BDD from the design perspective. SwiftUI Testing is built on TDD so this is the common way it is used this book will show it from the design perspective.
Track 1: Swift Testing
Focus on the official Swift Testing framework. Learn modern, macro-driven testing that integrates deeply with Swift's concurrency model and standard library.
- check_circleModern Swift Macros
- check_circleAsync/Await Testing
- check_circleNative Integration
Track 2: UserSpec
Dive into Behavior Driven Development (BDD). Use UserSpec to write tests that read like requirements, bridging the gap between business logic and executable code.
- check_circleBDD Methodology
- check_circleHuman-Readable Specs
- check_circleDomain-Centric Testing
SkyTrack (New App)
Architect for testability from the very first line of code in a greenfield SwiftUI project.
SkyBook (Existing App)
Learn how to introduce testing to an existing, complex codebase without breaking production features.
The Challenge Companion
Every chapter ends with a challenge. The companion provides the solutions, split for your level of expertise.
Section 1 — Code Only
Just the solution code. Designed for experienced developers who want to check their work quickly without the fluff.
Section 2 — Step by Step
A full architectural walkthrough of how to think through the solution from scratch.
Rationale: Keeps the main book clean. Covers the 20% of edge cases and deep-dives that advanced readers want to explore further.
What's Inside
- check26 Challenge Solutions
- checkHarder Edge Cases & Variants
- checkInside-Out Testing Patterns
- check'Review & Pay' Bonus Screen Challenge
Table of Contents
26 chapters. 4 bonus chapters. 2 apps. 1 live API.





SkyTrack — New App
Built from scratch. Tests from day one.





SkyBook — Existing App
Already built. Zero tests. More broken than you think.
Choose Your Edition
Invest in your career as a professional Swift architect.
Early Access
Chapters releasing live
- checkRead chapters as written
- checkBeta source code access
- checkFeedback channel
Full Book
PDF + ePub + Mobi
- checkAll 26 Chapters
- checkFull source code for 2 apps
- check4 AI Bonus Chapters
Mastery Bundle
Book + Companion
- checkComplete 500+ page book
- checkChallenge Companion PDF
- checkDiscord Community Access
- checkLive API Access Key
Need just the companion? Get the Companion alone for $10
