TechnologiesDeveloper Tools & Diagnostics

_Testing_Foundation cross-import overlay

iOSmacOStvOSwatchOSvisionOS

_Testing_Foundation is a cross-import overlay that connects Swift Testing with Foundation types. It defines no public types of its own; instead it adds support for encoding Encodable test attachments using Foundation's property list or JSON encoders. Use it when you attach Encodable values to your tests and want them serialized through these Foundation encoders on iOS, macOS, tvOS, watchOS, and visionOS.

This module re-exports or extends other frameworks; it declares no public types of its own in the synthesized interface.

Extends 3

AttachableAttachmentData
← Developer Tools & Diagnostics