The possible lifetime values for a test attachment.
On This Page
enum Lifetime : Int
Indicates that the attachment should be deleted if the test passes.
Indicates that the attachment should be persisted as part of the test’s results even if the test passes.
var lifetime: XCTAttachment.Lifetime
Indicates whether the attachment is kept or discarded when its associated test passes.