Skip to content

Latest commit

 

History

History
74 lines (63 loc) · 8.33 KB

Testing.md

File metadata and controls

74 lines (63 loc) · 8.33 KB

Testing

Symbols: 77.0% of Apple's iOS API (147 of 191, exact) · Rows: 3: 2 ✅ 1 ❌ · iOS: None+

Area: Developer tools · Apple: Testing · Issues: area:devtools

How isim implements it

  • Passthrough: upstream swift-testing 6.2.4, built for isim.

API

API / feature Status iOS Notes
Swift Testing (import Testing, @Test, @Suite, #expect, #require) ✅ ≤17 swift-testing 6.2.4 built for isim (isim/buildlib/swift.py); parameterized tests, async tests, filters/skips from isim test, xUnit output; tests run serially by default (ISIM_SWIFT_TESTING_PARALLEL=1 runs them in parallel, which intermittently aborts with a mutex used after destruction — under investigation); exit tests unavailable (no process spawning, as on iOS); tested (HelloToolchain: AppSwiftTests)
Attachment, Attachable (Attachment.record, init(_:named:sourceLocation:), preferredName), the Foundation overlay (Data, Encodable / NSSecureCoding values, Attachment(contentsOf:) for files) ✅ ≤17 passthrough: swift-testing 6.2.4's Testing and its _Testing_Foundation cross-import overlay (loaded when a file imports Testing and Foundation; isim swiftc turns cross-import overlays on, like Apple's toolchain). With isim test -resultBundlePath DIR the attachments are saved in DIR/<bundle>.attachments/SwiftTesting/ under their preferred names. Not built: the CoreGraphics image overlay (image attachments). Tested (HelloToolchain: AppSwiftTests attachments(), test_toolchain.py::test_scheme)
Types not yet in isim (iOS 17 and earlier) ❌ ≤17 not implemented, found by the 2026-10 sweep: AttachableAsImage, AttachableImageFormat, CustomTestReflectable, ExitStatus, ExitTest (5 types; with their members under "Not yet in isim")

Not yet in isim

44 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.

List