#XCTest
Migrating from XCTest to Swift Testing #iOSDev #SwiftLang useyourloaf.com/blog/migrati...
Migrating XCTest to Swift Testing
A quick guide to migrating XCTest unit test to Swift Testing.
useyourloaf.com
December 10, 2024 at 10:54 AM
XCTest Meets @MainActor: How to Fix Strict Concurrency Warnings qualitycoding.org/xctest-maina...
XCTest Meets @MainActor: How to Fix Strict Concurrency Warnings
Discover how Swift 6's @MainActor isolation impacts XCTest, with tips on handling concurrency warnings for view controller testing.
qualitycoding.org
November 30, 2024 at 8:01 PM
Have you tried Swift Testing yet?

I honestly feel like adding tests is now more fun than it was with XCTest just because the syntax is nicer...
December 7, 2024 at 4:24 PM
Я : XCTest
September 18, 2024 at 2:01 PM
Have been trying out Maestro UI testing framework (docs.maestro.dev) for a #CMP app and really liking it so far....wraps around for example UIAutomator on Android and XCTest on iOS.
What is Maestro? | Maestro by Mobile.dev
Maestro is the simplest and most effective UI testing framework.
docs.maestro.dev
February 27, 2025 at 8:39 AM
do you have any idea how long i've been talking about this lol

what's worth knowing is that XCTest's UI automation is built on iOS's accessibility system. accessible applications are testable ones.

(source: i worked on XCTest)
October 11, 2024 at 4:55 PM
I have SO much to write about that I haven't caught up with. Here's one: An assertion for async code. Now supports both XCTest and Swift Testing. github.com/jonreid/Expe...
GitHub - jonreid/ExpectToEventuallyEqual: Assertion for async code for both XCTest and Swift Testing
Assertion for async code for both XCTest and Swift Testing - jonreid/ExpectToEventuallyEqual
github.com
April 11, 2025 at 5:01 AM
Discover how Swift 6's MainActor isolation impacts XCTest, with tips on handling concurrency warnings for view controller testing. https://qualitycoding.org/xctest-mainactor/
XCTest Meets @MainActor: How to Fix Strict Concurrency Warnings
Discover how Swift 6's @MainActor isolation impacts XCTest, with tips on handling concurrency warnings for view controller testing.
qualitycoding.org
July 8, 2026 at 5:58 PM
Apple's Swift Testing template is better than what they give us for XCTest. Now let's improve it further with a custom file template. https://qualitycoding.org/swift-testing-template/
Swift Testing Template: Download My Improved Template
Apple's Swift Testing template is better than what they give us for XCTest. Now let's improve it further with a custom file template.
qualitycoding.org
June 3, 2026 at 7:50 PM
It's taking me some time to get the hang of going from XCTest expectations to using continuations to wait for asynchronous work. At first it felt kinda awkward. And it still is for some patterns. But it's now coming more naturally now. Feels like an improvement.
March 31, 2025 at 6:42 PM
📢 Quite proud of my solution to fetch Apple's docs as markdown and feed it to the agent. steipete.me/posts/2025/m...
Migrating 700+ Tests to Swift Testing: A Real-World Experience | Peter Steinberger
How I migrated over 700 tests from XCTest to Swift Testing across two projects, with AI assistance and systematic refinement
steipete.me
June 7, 2025 at 7:24 AM
📢 𝗜𝘀𝘀𝘂𝗲 𝟭𝟬𝟬 𝗶𝘀 𝗼𝘂𝘁!

Featuring:
⚡ 𝑆𝑡𝑟𝑒𝑎𝑚𝑖𝑛𝑔 𝑐ℎ𝑎𝑛𝑔𝑒𝑠 𝑂𝑏𝑠𝑒𝑟𝑣𝑎𝑡𝑖𝑜𝑛𝑠
🎨 𝐶𝑢𝑠𝑡𝑜𝑚 𝑏𝑖𝑛𝑑𝑖𝑛𝑔𝑠
🧩 𝑆𝑝𝑙𝑖𝑡𝑡𝑖𝑛𝑔 𝐿𝑎𝑟𝑔𝑒 𝑉𝑖𝑒𝑤𝑠 𝐴𝑝𝑝𝑙𝑒'𝑠 𝑤𝑎𝑦
📱 𝐶𝑢𝑠𝑡𝑜𝑚 𝑃𝑢𝑙𝑙-𝑡𝑜-𝑅𝑒𝑓𝑟𝑒𝑠ℎ
🔒 𝐿𝑖𝑡𝑡𝑙𝑒 𝑆𝑤𝑖𝑓𝑡𝑈𝐼 𝑇𝑖𝑝
🚀 𝑀𝑎𝑟𝑘 𝑐𝑜𝑛𝑡𝑒𝑛𝑡 𝑝𝑟𝑖𝑣𝑎𝑡𝑒
💡 𝑋𝐶𝑇𝑒𝑠𝑡 𝑀𝑒𝑒𝑡𝑠 @𝑀𝑎𝑖𝑛𝐴𝑐𝑡𝑜𝑟
🛠️ 𝑆𝑤𝑖𝑓𝑡𝑈𝐼 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛𝑎𝑙

#Swift #iOSDev

ios-newsletter.snappmobile.io/issues/2026-...
iOS Newsletter Issue 100
Hi folks,
ios-newsletter.snappmobile.io
July 11, 2026 at 7:00 PM
speaking from behind the lines -- my team was XCTest, which provided UI automation APIs -- UI testing is really, *really* difficult to do well. you often need someone assigned to it *in addition* to individual engineers supplying some tests of their own for their changes. it's a huge resource pull.
December 27, 2023 at 1:56 AM
📢 𝗜𝘀𝘀𝘂𝗲 𝟵𝟰 𝗶𝘀 𝗼𝘂𝘁!

Highlights:
💡 𝑃𝑟𝑜𝑔𝑟𝑎𝑚𝑚𝑖𝑛𝑔 𝑤𝑖𝑠𝑑𝑜𝑚
🔐 𝑖𝑂𝑆 𝐾𝑒𝑦𝑐ℎ𝑎𝑖𝑛
🔢 2𝐹𝐴 𝑝𝑎𝑡𝑡𝑒𝑟𝑛 𝑠𝑝𝑜𝑡𝑡𝑖𝑛𝑔
⏱️ 𝑇𝑖𝑚𝑒𝑙𝑖𝑛𝑒𝑉𝑖𝑒𝑤
📐 𝐿𝑖𝑠𝑡 𝑟𝑜𝑤 𝑎𝑛𝑖𝑚𝑎𝑡𝑖𝑜𝑛𝑠
🍎 𝐴𝑝𝑝𝑙𝑒 𝑑𝑜𝑐𝑠 𝑓𝑜𝑟 𝐴𝐼
🧪 𝑋𝐶𝑇𝑒𝑠𝑡 𝑎𝑠𝑠𝑒𝑟𝑡𝑖𝑜𝑛𝑠
🌐 𝑀𝑖𝑛𝑖𝑆𝑤𝑖𝑓𝑡

#Swift #iOSDev

ios-newsletter.snappmobile.io/issues/2026-...
ios-newsletter.snappmobile.io
May 29, 2026 at 2:00 PM
You have a Swift optional value. How can you write an XCTest assertion to verify it, while getting the most from any assertion failures? The answer is: "It depends." https://qualitycoding.org/unit-test-optionals-swift/
How to Unit Test Optionals in XCTest | Quality Coding
You have a Swift optional value. How can you write an XCTest assertion to verify it, while getting the most from assertion failure messages?
qualitycoding.org
December 10, 2025 at 11:04 PM
Interop between XCTest and Swift Testing? In the economy? It's more likely than you think.

Legitimately, I'm really excited for this. This'll enable much more consistent set of tooling that can easily be used in Swift Testing and in XCTest. It'll also make migrating from XCTest to Swift Testing […]
Original post on hachyderm.io
hachyderm.io
February 25, 2026 at 1:12 AM
Oh, I found it I think. So Apple's way is to use the init/deinit of the class holding the tests developer.apple.com/documentatio...
Migrating a test from XCTest | Apple Developer Documentation
Migrate an existing test method or test class written using XCTest.
developer.apple.com
April 8, 2025 at 3:49 PM
to put this into my perspective, i was working on Xcode when the Xcode Cloud project was beginning. i was on XCTest and the thought of developers just being able to Do That was pretty rad. Xcode Server wasn't a huge PITA but it's still Stuff. i want less Stuff and more Run.
skyfeed is cool and does a great job for most folks. but i want to do some things that require me to write code, which means going through All the Bullshit. i really am not interested in Bullshit. i hate environments, containers, servers, fRaMeWoRkSss, etc. i just like to write code.
you know, i'd pay a few bucks a month to have feed hosting from bluesky. no environment or scaffolding to set up and manage, just a place where i can drop code to drive feeds. preview staging, github integration, etc. just the basics.
December 6, 2023 at 9:41 PM
Want to come work with me on XCTest and Swift Testing? jobs.apple.com/en-us/detail...
Tools Engineer, Testing - Careers at Apple
Apply for a Tools Engineer, Testing job at Apple. Read about the role and find out if it’s right for you.
jobs.apple.com
February 25, 2025 at 6:12 PM
I've heard from multiple sources, that tests with Swift Testing take dramatically longer than with XCTest because of the macros.

I just bulk-converted 500 tests just to see and the execution time is nearly identical. To be specific, even 1-2 seconds faster.
January 17, 2025 at 8:01 AM
i used to work on XCTest and something i learned was that as the amount of test code exploded in a project the *harder* it could be to change anything. unless you introduce more abstractions! now you have an unbounded amount of problems understanding the implementation
June 19, 2026 at 11:33 PM
⚡ 𝑋𝐶𝑇𝑒𝑠𝑡 𝑀𝑒𝑒𝑡𝑠 @𝑀𝑎𝑖𝑛𝐴𝑐𝑡𝑜𝑟: 𝐻𝑜𝑤 𝑡𝑜 𝐹𝑖𝑥 𝑆𝑡𝑟𝑖𝑐𝑡 𝐶𝑜𝑛𝑐𝑢𝑟𝑟𝑒𝑛𝑐𝑦 𝑊𝑎𝑟𝑛𝑖𝑛𝑔𝑠 by Jon Reid (@qualitycoding.org)

Flipping the switch to Strict Concurrency in Swift 6 turns our test suites into a sea of warnings.

#iOSDev #Concurrency #Testing

qualitycoding.org/xctest-maina...
XCTest Meets @MainActor: How to Fix Strict Concurrency Warnings
Discover how Swift 6's @MainActor isolation impacts XCTest, with tips on handling concurrency warnings for view controller testing.
qualitycoding.org
July 16, 2026 at 4:00 AM