Trending

#SwiftTesting

Latest posts tagged with #SwiftTesting on Bluesky

Latest Top
Trending

Posts tagged #SwiftTesting

Original post on hachyderm.io

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 […]

2 2 0 0
Preview
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.

🧪 𝑆𝑤𝑖𝑓𝑡 𝑇𝑒𝑠𝑡𝑖𝑛𝑔 𝐴𝑔𝑒𝑛𝑡 𝑆𝑘𝑖𝑙𝑙 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...

2 0 0 0
Preview
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…

🧪 𝑷𝒊𝒕𝒇𝒂𝒍𝒍𝒔 𝒐𝒇 𝑷𝒂𝒓𝒂𝒎𝒆𝒕𝒆𝒓𝒊𝒛𝒆𝒅 𝑻𝒆𝒔𝒕𝒔 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

2 0 0 0
Original post on hachyderm.io

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 […]

0 0 0 0

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

0 0 0 0
Post image

First time working with the new #SwiftTesting macro.
Loving how easy it is to write tests—and how much it improves readability.
#iOSDev

1 0 0 0
Introducing Swift Testing. Basics.

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]

0 0 0 0

Correct me if I’m wrong but in #SwiftTesting I think #️⃣expect(Bool(false), “Knew this would fail”) == Issue.record(“Knew this would fail”)

0 0 1 0

Figuring out this #TestScoping has sure given me tons of material for an example implementation #SwiftTesting talk

0 0 0 0

Boring #SwiftTesting 🥰

0 0 0 0
Preview
#buildinpublic #ios #swift #sqlite | Antonio Guerra Building an SQLite ORM in Swift: day 2 Today I mainly focused on consolidating what I did yesterday and improving it. Here's what's new in brief: - I have increased the configuration possibil...

Building an SQLite ORM in Swift: day 2

#BuildInPublic #iOS #Swift #SQLite #SwiftPackage #Swift6 #SwiftTesting

www.linkedin.com/posts/antoni...

4 0 0 0

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.

0 0 0 0

You can extend public #SwiftTesting structs from a #SwiftLang package.

1 0 1 1
CustomTestStringConvertible · paul-samuels.com

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

1 0 0 0

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

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

#swift #swifttesting

6 2 2 0
The classic Ron Paul "it's happening!" meme.

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

2 0 0 0
#7 XCTest vs Swift Testing: A modern way of linking bugs What’s the difference? In XCTest we relied on the old fashioned simple comments to add more context to our test case e.g link to the bug description. With Swift Testing, we now have a special bug trai...

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

2 0 1 0

When you don’t want errors in your #SwiftTesting don’t use functions that throw errors.

2 0 0 0

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

2 1 0 0

I just published A first look at a whole new paradigm for unit testing in Swift link.medium.com/yACgrbgnUQb #Swift #XCTest #SwiftTesting

0 0 0 0

Had some frustration in the last hour when #SwiftTesting arguments were not iterating over any more than the initial case.

Powercycle fixed this.

0 0 0 0

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.

0 0 0 0

Struggling with lifecycles today, at least that’s the top of the error-pile. Hope to soon find out actual causes. #SwiftLang #SwiftTesting

0 0 1 0
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’

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

1 0 0 0

#SwiftTesting 🗡️ has such a nice edge on it today

1 0 0 0
Post image

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

2 0 0 0
Post image

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

0 0 0 0
EXC_BAD_ACCESS crash in some Swift… | Apple Developer Forums

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

1 0 0 0
Preview
[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.

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...

1 0 1 0