CommentComment

Happy new device day! Thanks also for all of the kind wishes after last weekā€™s issue. Iā€™m feeling much better, thank you. ā¤ļø

I want to write about this thread on the Swift forums this week. The title, ā€œA New Approach to Testing in Swiftā€, and the authors being Developer Tools and XCTest team members was enough to make this significant, but the content is even better.

XCTest is a fine testing framework. It has all you need to write everything from a couple of individual unit tests to huge test suites with thousands. Outside of a few additions every year, though, it has looked and felt the same for a long time. This thread gives us a sneak peek at a successor to XCTest, and itā€™s an open-source package that Apple will develop in public! Even better, weā€™re being allowed to see it at a very early stage. Iā€™d recommend starting by reading the vision document, but thereā€™s plenty in the repository to explore already. The team are looking for feedback, so please read it and comment on the thread. I canā€™t wait to see how it develops. šŸš€

Iā€™ve dabbled with Quick and Nimble in the past, and while I feel very much at home with their approach, I always fall off, though, because of how their tests integrate with Xcodeā€™s test reporting feature. Thatā€™s not the fault of those two (or any other) testing libraries but a symptom of how tightly coupled XCTest and Xcode are.

I am sure this new testing library will be wonderful and become the de-facto testing solution for Swift. However, I also hope the integration between it and Xcode will be open to other testing frameworks. There are hints in the document that point towards this being on the teamā€™s mind, so I donā€™t think itā€™s out of the question. If so, I can see this ushering in a new era of fantastic testing tools for Swift in addition to this library.

Dave Verwer  

News

Tools

Code




Jobs

Senior iOS Engineer @ Luma AI ā€“ We are a small AI research and product company working on new kinds of creative tools for 3D. Our mission is to democratize the 3D experience for all. iOS at Luma is at the center of the product universe. We are growing the iOS team from 1-4, please reach out if you're interested! ā€“ On-site (United States in CA) with some remote work (within US timezones)

Senior iOS Engineer @ sengaro GmbH ā€“ We offer an exciting position in Innsbruck (AT) with technical responsibility and conceptual refinements of our long-term products. They're used in the medical field by paramedics and docs to save lives every day. Become part of it and support people in emergencies! (proficiency in German required) ā€“ On-site (Austria) with some remote work (within European timezones)

 

Are you hiring? I say it every week, but donā€™t forget that you can post jobs for free to iOS Dev Jobs!

 

And finally...

Singularity achieved! šŸ¤–