Squeezing Even More Out of SwiftUI Preview
summary
Shows how to create a variety of SwiftUI Preview-based tests without using code generation, building on Ozon’s 2022 idea but replacing codegen with other techniques. Also explains using interactive test ideas to favor SwiftUI Previews over Micro Apps for testing and exploration.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:59Previous solutions overview
- 7:22Codegen problems and fix
- 15:41Snapshot tests
- 18:38Interactive preview tests
- 27:12Debugging and test stability
- 31:06Replacing Micro Apps with previews
- 35:25Preview code organization
- 37:55Development process
- 39:25Summary
- 40:06Q&A
related talks
38mGetting the Most Out of SwiftUI Preview
17mMastering SwiftUI Previews: How the Project Structure can hel
28mElevating your design with SwiftUI
38mTesting and Declarative UI's
46mPreviews and Package Oriented Programming
20mSpeeding up UIKit-based app development with Xcode Previews
31m5 Steps to Better SwiftUI Views
01h 13mSwiftUI — live coding declarative UI
