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
- Passthrough: upstream swift-testing 6.2.4, built for isim.
| 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") |
44 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.
List
AttachableAsImagefunc withUnsafeBytes<R>(as: AttachableImageFormat, (UnsafeRawBufferPointer) throws -> R) throws -> RAttachableImageFormatvar contentType: UTTypevar debugDescription: Stringvar description: Stringvar encodingQuality: Floatinit(contentType: UTType, encodingQuality: Float)init?(pathExtension: String, encodingQuality: Float)static var jpeg: AttachableImageFormatstatic func jpeg(withEncodingQuality: Float) -> AttachableImageFormatstatic var png: AttachableImageFormatvar imageFormat: AttachableImageFormat?init<T>(T, named: String?, as: AttachableImageFormat?, sourceLocation: SourceLocation)init<T>(exporting: T, as: UTType?, named: String?, sourceLocation: SourceLocation) async throwsstatic func record<T>(T, named: String?, as: AttachableImageFormat?, sourceLocation: SourceLocation)CustomTestReflectablevar customTestMirror: MirrorExitStatuscase exitCode(CInt)case signal(CInt)ExitTestExitTest.Conditionstatic func exitCode(CInt) -> ExitTest.Conditionstatic var failure: ExitTest.Conditioninit(ExitStatus)static func signal(CInt) -> ExitTest.Conditionstatic var success: ExitTest.Conditionstatic var current: ExitTest?ExitTest.Resultvar exitStatus: ExitStatusvar standardErrorContent: [UInt8]var standardOutputContent: [UInt8]macro expect(processExitsWith: ExitTest.Condition, observing: [any PartialKeyPath<ExitTest.Result> & Sendable], @autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> Void) -> ExitTest.Result?var isFailure: Boolstatic func record(Comment?, severity: Issue.Severity, sourceLocation: SourceLocation) -> IssueIssue.Severitycase errorcase warningvar severity: Issue.Severitymacro require(processExitsWith: ExitTest.Condition, observing: [any PartialKeyPath<ExitTest.Result> & Sendable], @autoclosure () -> Comment?, sourceLocation: SourceLocation, performing: () async throws -> Void) -> ExitTest.Resultvar filePath: Stringstatic func cancel(Comment?, sourceLocation: SourceLocation) throws -> Neverstatic func evaluates(any Evaluation, info: [String : String], recordTranscripts: Bool) -> Self