Test Your SwiftUI With a Text File That Describes The Entire View Hierarchy
Daily Coding Tip 062

I’m going to reuse the TestExample project from Daily Coding Tip 060, where we last made use of the SnapshotTesting library.
If you still have the project from this tutorial, you can reuse it pretty easily and can skip the next step.
Otherwise I’ll repeat the installation instructions below.
Adding SnapshotTesting …
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.