Structureswift-testing 6.0.2TestingMacros
ExitTestExpectMacro
A type describing the expansion of the #expect(exitsWith:)
macro.
struct ExitTestExpectMacro
This type checks for nested invocations of #expect()
and #require()
and diagnoses them as unsupported. It is otherwise exactly equivalent to ExpectMacro
.
Citizens in TestingMacros
Conformances
protocol ConditionMacro
A protocol containing the common implementation for the expansions of the
#expect()
and#require()
macros.protocol ExitTestConditionMacro
protocol ExpressionMacro
Describes a macro that is explicitly expanded as an expression.
protocol FreestandingMacro
Describes a macro that is freestanding, meaning that it is used with the
#
syntax.protocol Macro
Describes a macro.
protocol RefinedConditionMacro
A protocol that can be used to create a condition macro that refines the behavior of another previously-defined condition macro.
protocol Sendable