SwiftyPlace Blog
Introduction to XCTest: How to Write Unit Tests for iOS apps
Writing tests sounds boring until your app breaks and you have no idea why. In this post, we’ll walk through how to write simple, focused unit tests for a SwiftUI app using Apple’s built-in framework: XCTest.We’ll use a small SwiftUI demo app as a sandbox. You’ll learn how to: This … Read more