#SwiftTesting
Attachments coming to Swift Testing in a review thread near you!

forums.swift.org/t/st-0009-at...

#swift #swifttesting
March 20, 2025 at 9:51 PM
Maybe a nitpick, but I dislike that Swift Testing snippet defaults to `async throws` test. I prefer starting with the most restrictive type and extend it as needed. I only noticed half my tests were needlessly async throwing hours later, bc the compiler was silent.

#swiftlang #swifttesting #xcode
November 18, 2024 at 11:38 AM
Today I share a small tip to use SwiftTesting: `CustomTestStringConvertible`.
It’s a neat protocol to improve the output of your parameterized tests.

craftingswift.dev/articles/imp...

#swiftTesting #quickTip
Improve SwiftTesting Parameterized Tests with `CustomTestStringConvertible`
A small protocol conformance helps improve your test output.
craftingswift.dev
April 28, 2026 at 1:04 PM
XCTestからSwiftTestingへ:モダンなiOSテスト手法とBDDによる仕様書化
https://zenn.dev/coconala/articles/d437fb921d61b6
XCTestからSwiftTestingへ:モダンなiOSテスト手法とBDDによる仕様書化
zenn.dev
April 26, 2025 at 4:07 AM
Afternoon workshops at mDevCamp 2025 💡
🔧 Android Studio Plugins with Kotlin – Michal Ursiny (Sky Czech)
🧪 SwiftTesting – Daniel Steinberg
Custom tools & cleaner tests – it’s happening right now!

#mDevCamp2025 #MobileDev #Android #Swift #Prague
June 2, 2025 at 11:59 AM
forums.swift.org/t/st-0008-ex...

Exit tests! Death tests! Termination tests! In Swift Testing!

#swift #swifttesting
March 20, 2025 at 8:33 PM
A new UI Testing framework. At minimum similar features/support as SwiftTesting, but ideally with new features that make UITesting easier and faster
March 17, 2025 at 7:16 PM
🧪 𝑆𝑤𝑖𝑓𝑡 𝑇𝑒𝑠𝑡𝑖𝑛𝑔 𝐴𝑔𝑒𝑛𝑡 𝑆𝑘𝑖𝑙𝑙 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...
Swift Testing Agent Skill: Write high quality tests with AI
Explore how the Swift Testing Agent Skill enhances your development process, integrating best practices for effective testing.
www.avanderlee.com
February 23, 2026 at 4:05 PM
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
February 24, 2025 at 11:21 PM
🧪 𝐼𝑚𝑝𝑟𝑜𝑣𝑒 𝑆𝑤𝑖𝑓𝑡𝑇𝑒𝑠𝑡𝑖𝑛𝑔 𝑃𝑎𝑟𝑎𝑚𝑒𝑡𝑒𝑟𝑖𝑧𝑒𝑑 𝑇𝑒𝑠𝑡𝑠 by Felipe Espinoza (@fespinozacast.bsky.social)

𝐶𝑢𝑠𝑡𝑜𝑚𝑇𝑒𝑠𝑡𝑆𝑡𝑟𝑖𝑛𝑔𝐶𝑜𝑛𝑣𝑒𝑟𝑡𝑖𝑏𝑙𝑒 gives parameterized test cases readable names, making failures easier to diagnose in Xcode's test navigator.

#SwiftTesting #Testing

craftingswift.dev/articles/imp...
Improve SwiftTesting Parameterized Tests with `CustomTestStringConvertible`
A small protocol conformance helps improve your test output.
craftingswift.dev
May 14, 2026 at 4:07 PM
#SwiftTesting 🗡️ has such a nice edge on it today
January 1, 2025 at 10:46 PM
You can extend public #SwiftTesting structs from a #SwiftLang package.
March 25, 2025 at 7:39 PM
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
CustomTestStringConvertible · paul-samuels.com
paul-samuels.com
March 25, 2025 at 12:52 AM
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
December 19, 2024 at 1:20 PM
When you don’t want errors in your #SwiftTesting don’t use functions that throw errors.
February 26, 2025 at 11:48 PM
Using SwiftTesting with a package-based project (no pbxproj file) and I'm finding that quite often the tests "pass" even though they are broken, and only a clean build makes Xcode notice that one they are actually failing. Anybody else seen similar?
December 13, 2024 at 4:43 PM
First time working with the new #SwiftTesting macro.
Loving how easy it is to write tests—and how much it improves readability.
#iOSDev
June 2, 2025 at 11:43 AM
Also, it turns out that I factored it into a separate package (elegantchaos/Matchable on Github), so I can use it with SwiftTesting too.

Thanks, past-me!
September 3, 2025 at 10:59 AM
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
EXC_BAD_ACCESS crash in some Swift… | Apple Developer Forums
developer.apple.com
December 16, 2024 at 9:42 AM
🧪 𝑷𝒊𝒕𝒇𝒂𝒍𝒍𝒔 𝒐𝒇 𝑷𝒂𝒓𝒂𝒎𝒆𝒕𝒆𝒓𝒊𝒛𝒆𝒅 𝑻𝒆𝒔𝒕𝒔 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
Pitfalls of Parameterized Tests | Swiftology
In this article, I share my experience adopting Swift Testing at scale and the lessons I learned about **Parameterized Tests**, including five common pitfalls teams may encounter. I also recommend…
swiftology.io
November 17, 2025 at 2:02 PM
Check out my article on SwiftTesting at this link:
Swift Testing
Software testing is an essential component of software development, playing a crucial role in the quality and reliability of applications…
buff.ly
November 22, 2024 at 1:42 PM
Like power sliding into the finish line. 🏁
#SwiftLang #Appium #SwiftTesting #UITest
January 2, 2025 at 10:46 PM
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...
[Feature request] Extend `@Test` and `#expect` to work with snapshot testing in SwiftTesting · Issue #199 · uber/ios-snapshot-test-case
Would be really nice to be able to use @Test and #expect in snapshot testing. Particularly @Test for passing in different arguments.
github.com
November 21, 2024 at 12:49 PM
📸 𝑆𝑛𝑎𝑝𝑠ℎ𝑜𝑡𝑇𝑒𝑠𝑡𝑖𝑛𝑔 by Point-Free (@pointfree.co)

Snapshot test any value on any Swift platform - not just UIViews. Supports images, text, JSON, plist, and custom formats. Integrates seamlessly with 𝑆𝑤𝑖𝑓𝑡𝑇𝑒𝑠𝑡𝑖𝑛𝑔.

#Swift #Testing

github.com/pointfreeco/...
GitHub - pointfreeco/swift-snapshot-testing: 📸 Delightful Swift snapshot testing.
📸 Delightful Swift snapshot testing. Contribute to pointfreeco/swift-snapshot-testing development by creating an account on GitHub.
github.com
March 26, 2026 at 4:03 PM