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 […]
🧪 𝑆𝑤𝑖𝑓𝑡 𝑇𝑒𝑠𝑡𝑖𝑛𝑔 𝐴𝑔𝑒𝑛𝑡 𝑆𝑘𝑖𝑙𝑙 by Antoine van der Lee (@avanderlee.com)
𝑆𝑤𝑖𝑓𝑡𝑇𝑒𝑠𝑡𝑖𝑛𝑔 is becoming the de-facto standard. Here's how to integrate it into your agentic coding workflows for high-quality test generation.
#SwiftTesting #AI #Swift
www.avanderlee.com/ai-developme...
🧪 𝑷𝒊𝒕𝒇𝒂𝒍𝒍𝒔 𝒐𝒇 𝑷𝒂𝒓𝒂𝒎𝒆𝒕𝒆𝒓𝒊𝒛𝒆𝒅 𝑻𝒆𝒔𝒕𝒔 by Alex Ozun (@alexozun.com)
Five critical pitfalls that trip up teams adopting Swift Testing at scale. Learn the patterns that prevent test pollution, flaky assertions, and maintenance nightmares as your test suite grows.
#Swift #Testing #SwiftTesting
After Swift Testing added support for image attachments on apple platforms and windows platforms (insert 90s-era M$ insult here), they had realized they really should consolidate the different AttachableAs${PLATFORM_SPECIFIC_IMAGE_TYPE} protocols down into just a single AttachableAsImage […]
BREAKING NEWS:
“What’s New In Testing” will begin early because Rachel Brindle has a demo ready for us! Come on over by 9:30am so you don’t miss out!
Afterwards, pop into Rachel & Dalton’s tent for the opportunity to win a copy of Daniel Steinberg’s book on Swift Testing.
#wwdc25 #SwiftTesting
First time working with the new #SwiftTesting macro.
Loving how easy it is to write tests—and how much it improves readability.
#iOSDev
Introducing Swift Testing. Basics.
Swift Testing is a new framework with expressive and intuitive APIs that improve your testing experience. It is powered by macros that allow you to organize and assert your tests. This week, we will learn about the basics of the Swift Testing framework and how […]
[Original post on oldbytes.space]
Correct me if I’m wrong but in #SwiftTesting I think #️⃣expect(Bool(false), “Knew this would fail”) == Issue.record(“Knew this would fail”)
Figuring out this #TestScoping has sure given me tons of material for an example implementation #SwiftTesting talk
Boring #SwiftTesting 🥰
This is a bad idea how #SwiftTesting is commonly ran. When the Testing Plan neither updates and the sidebar causes Test to pass without running. The tests become unusable to work on. Functionality remains the same, which may be advantageous for completed Suites, but not when they’re being built.
You can extend public #SwiftTesting structs from a #SwiftLang package.
Here's a post on making sure your SwiftTesting parameterised tests show up in the test navigator with nice names using `CustomTestStringConvertible`
paul-samuels.com/blog/2025/03...
#swifttesting #swift
Attachments coming to Swift Testing in a review thread near you!
forums.swift.org/t/st-0009-at...
#swift #swifttesting
The classic Ron Paul "it's happening!" meme.
forums.swift.org/t/st-0008-ex...
Exit tests! Death tests! Termination tests! In Swift Testing!
#swift #swifttesting
XCTest vs Swift Testing: A modern way of linking bugs
www.mobiledevdiary.com/posts/series...
by Maciej Gomółka
#ios #iosdevelopment #swift #swiftui #swiftlang #XCTest #SwiftTesting
When you don’t want errors in your #SwiftTesting don’t use functions that throw errors.
Just formally started the proposal process for two new Swift Testing features:
- Exit tests: forums.swift.org/t/pitch-exit...
- Attachments: forums.swift.org/t/pitch-atta...
#swift #swifttesting
I just published A first look at a whole new paradigm for unit testing in Swift link.medium.com/yACgrbgnUQb #Swift #XCTest #SwiftTesting
Had some frustration in the last hour when #SwiftTesting arguments were not iterating over any more than the initial case.
Powercycle fixed this.
If you’re extending a #SwiftTesting Tag from a package it isn’t the extension you make public but just the Tag itself. Not sure if other system extensions work similarly but now you know.
Struggling with lifecycles today, at least that’s the top of the error-pile. Hope to soon find out actual causes. #SwiftLang #SwiftTesting
A screenshot from the Xcode console log with the top saying ‘Appium has been shut down successfully’, successful passing tests, and ‘Program ended with exit code: 0’
Like power sliding into the finish line. 🏁
#SwiftLang #Appium #SwiftTesting #UITest
#SwiftTesting 🗡️ has such a nice edge on it today
Another #swiftTesting tip, if you use custom objects as arguments of a parameterized test, you should make them conform to `CustomTestStringConvertible` developer.apple.com/documentatio...
Then you will have better names in the Xcode's Test navigator
There was a little gem in the swift testing documentation developer.apple.com/documentatio...
You can pass more than one collection as argument, then it will use the Cartesian product of combinations as parameters.
I was gonna write a custom function to do this
#swift #swiftTesting
I've had some crashes at times with some tests with swift testing.. does anyone have the same experience? developer.apple.com/forums/threa... #swift #swiftTesting #xcode
Would love to see support for #SwiftTesting in snapshot tests from Uber! Opened this as a feature request but who knows 🤷♂️ I know under the hood they just do an XCTAssertTrue(errors.count == 0) so it’s all possible
github.com/uber/ios-sna...