Unit Testing Combine Publisher Cheatsheet
A cheat sheet for writing unit tests for Swift Combine Publishers in Xcode, including code snippets for common assertion scenarios.
A cheat sheet for writing unit tests for Swift Combine Publishers in Xcode, including code snippets for common assertion scenarios.
A tutorial on creating custom XCTest assertions in Swift to write clearer and more maintainable unit tests.
A tutorial on writing unit test assertions for Swift's Result enum, covering both Equatable and non-Equatable scenarios.
A guide to preventing SwiftUI apps from running their full startup flow during unit tests to avoid side effects and improve test performance.
A guide to implementing snapshot testing for iOS UI using iOSSnapshotTestCase (formerly FBSnapshotTestCase) within XCTest and XCUITest.
Explains how to use bundle identifiers in XCTest to launch and test multiple iOS apps, including system apps and alerts.
A guide to creating a custom Fastlane plugin for retrying failed XCTests to improve UI test stability in iOS development.
Improving Swift test debugging by pinpointing exact property differences between object instances instead of generic failure messages.
Explains the differences between Nimble's toEventually and waitUntil for testing asynchronous Swift code, with guidance on when to use each.
A tutorial on using XCTest closure-based expectations with NSPredicate to test asynchronous Swift code.
Exploring UI testing on iOS, comparing KIF and XCUI, and solving flaky tests with better synchronization techniques.
PSPDFKit's journey to achieving fast and reliable UI testing for their iOS PDF SDK, covering strategies beyond Apple's XCUI framework.
A guide on how to write unit tests for Swift code that uses the delegate pattern for asynchronous operations, using XCTest and the Spy test pattern.
A tutorial on testing asynchronous callback functions in Swift using XCTestExpectation, part of a series on practical testing.
A guide to preventing unit tests from loading the main AppDelegate in Swift, improving test speed and isolation.
A guide to creating parameterized XCTest test cases in Swift, including workarounds for NSInvocation limitations.
Introduces Nimble, a matcher framework for Swift/Objective-C, to enhance XCTest cases with more readable and expressive syntax.
A tutorial on using Xcode 7's UI testing framework, focusing on asynchronous waiting for view changes with code examples.
An overview of iOS testing tools and practices in 2015, covering XCTest, UIAutomation, and continuous integration options.