This course is intended for developers who have little to no experience using XCTest, Apple’s Xcode-based testing framework.
In the first part, you’ll use the Swift Package Manager (SPM) to examine the basics of testing, without the overhead of an app. You’ll build up a small library of Swift extensions, and learn the test-driven development cycle.
In part two, you’ll explore asynchronous testing in the context of an app that uses Model-View-Controller-Networking architecture. And you’ll try out test doubles, to see how they can reduce the time taken for testing.
The final part is on UI testing. You’ll write code that automates virtual interaction with onscreen elements, and you’ll learn to generate that code with recorded actions as well.