Migrating 700+ Tests to Swift Testing: A Real-World Experience
A developer shares their experience using AI to migrate over 700 XCTest cases to Apple's new Swift Testing framework, detailing the process and key learnings.
A developer shares their experience using AI to migrate over 700 XCTest cases to Apple's new Swift Testing framework, detailing the process and key learnings.
A technical article on building a robust testing infrastructure for iOS development, covering modularization, test types, and strategies to reduce flakiness.
A guide to overcoming XCTest Performance limitations by implementing custom iOS performance testing with Firebase TestLab on CI.
Apple's new Swift Testing framework simplifies unit testing in Swift, replacing XCTest with a cleaner syntax and powerful features like parameterized tests.
A biweekly newsletter covering mobile automation news, including iOS/Android testing, CI/CD, Swift, Flutter, and Appium tutorials and best practices.
A guide to securely managing credentials and environment variables for iOS testing in Xcode and XCTest, covering local setup and CI integration.
A guide to disabling network connectivity on the iOS Simulator from within XCTest for automated offline testing.
A guide to implementing BDD-style tests in iOS using XCTest's XCTContext for cleaner, more readable test scenarios and reports.
A guide to improving the visual output of XCTest logs and reports for iOS development using tools like xcpretty, XCTestHTMLReport, and Allure.
A guide to bypassing XCTest's sandbox to execute command-line tools, enabling advanced iOS simulator automation and testing scenarios.
A tutorial on mocking and simulating location data for automated testing in iOS using XCTest and a local Sinatra server.
A technical guide on how to automatically record video of failed iOS UI tests using XCTest, simctl, and a Sinatra web server for debugging.
A guide to building a custom solution for testing push notifications within iOS XCTest using a Sinatra web server and Fastlane.
A guide to integrating a native mock HTTP server within XCTest for iOS UI testing, using Swifter to isolate tests from backend dependencies.
A guide to writing unit tests for Swift code that uses async/await, covering asynchronous test methods and error handling.
A guide to attaching a Core Data SQLite database file to a failing unit test in Xcode for debugging purposes.
Explains how to use XCTAttachment in XCTest to attach files, images, and data to test results for easier debugging.
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.