TDD with SwiftUI
From the author of iOS Unit Testing by Example…
These are all the posts so far in this meta-series.
Subscribe to this new series to get articles as they come!

I’ve being following the Jon Reid series on SwiftUI testing and it’s being a blast. I’m a huge fan of him and I can feel the joy of coding watching him livestream.
If you are looking for a new resource of studying SwiftUI and testing, look no further.
Leonardo Maia Pugliese - Senior iOS Engineer
July 14, 2026
We’re continuing “TDD with SwiftUI” to write our first test for a
May 12, 2026
Most SwiftUI developers never write automated tests for their views. You manually
March 31, 2026
SwiftUI views are black boxes. You can instantiate them and see what
October 28, 2025
In the last post, we wrote our first SwiftUI test in pseudocode.
September 30, 2025
In TDD: Where Do You Even Begin? we distilled the “essence” of
July 29, 2025
When you're starting TDD, the hardest part is knowing where to begin.What
July 13, 2025
Xcode supports automated refactoring. Supposedly. In practice, the options are limited and
February 18, 2025
In my last post, we explored why unit testing SwiftUI is valuable
February 4, 2025
In SwiftUI Testing Challenge: Can You Test This Counter App? I asked
January 21, 2025
How do we automate tests for SwiftUI? Should we even bother? And
July 9, 2024
Did you know that Xcode behaviors can help change your behaviors as
March 26, 2024
CI tooling is an important part of building confidence in the changes
January 9, 2024
How can we bypass the normal SwiftUI app launch sequence during testing?
December 12, 2023
How do we overcome Xcode’s tendency to give slow test feedback? Let’s
November 21, 2023
November 14, 2023
Does test-driven development (TDD) even make sense for SwiftUI? Nine years ago,
