Skip to content

Exit tests should be able to capture values #1157

@grynspan

Description

@grynspan

Exit tests should be able to capture values. We can constrain this to values conforming to Sendable and Codable.

An implementation exists on the main branch guarded by the package trait ExperimentalExitTestValueCapture and @_spi(Experimental).

Metadata

Metadata

Assignees

Labels

api-proposalAPI proposal PRs (documentation only)enhancementNew feature or requestexit-tests☠️ Work related to exit testsmacros🔭 Related to Swift macros such as @Test or #expectparameterized-testingRelated to parameterized testing functionalitypublic-apiAffects public API

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions