• https://forums.swift.org/t/a-new- approach-to-testing-in-swift/67425 • A rich thread of more than 100 comments, sharing thoughts and experiences with the community • New forum category: https:// forums.swift.org/tag/swift-testing
2013 • A fi rst experience with Eclipse IDE and Android SDK • Xcode 4.6 and an iPhone 4 • I’m sorry for those of you coming from the pre-ARC era 🦕 • Worked on IoT, video, banking and Cloud
• iOS 6: UIKit’s AutoLayout and the iPhone 5 • iOS 7: From skeuomorphic to fl at design • iOS 8: Hello Swift ! • iOS 13: Hello SwiftUI, and hello to you Combine as well • iOS 15: Swift Concurrency • iOS 17: Swift 5.8 - Macros
Free standing global functions • Enclosing type acting as a test suite • Bye “test” pre fi x • Bye var myDependency: IWO! • Parameterized tests (N*M or zipping collections)
• Test availability at build time and run time • Time limit, measured in minutes • If applied to a @Suite, behaviour inherited to enclosed tests functions • If applied to a parameterized test, behaviour inherited to all test cases (each invocation separately)
Tag, strongly typed to be even shared between test targets • Bug, aiming to work with bug report solutions • Yes, there’s a Bug in the type system now… (pun intended) • https://github.com/apple/swift-testing/blob/main/Sources/Testing/Traits/Bug.swift#L18 • Not to be confused with the Issue type, which seems to be internally used to collect information about failing tests