Test(_:_:)
Declare a test.
Declaration
@attached(peer) macro Test(_ displayName: String? = nil, _ traits: any TestTrait...)Parameters
- displayName:
The customized display name of this test. If the value of this argument is
nil, the display name of the test is derived from the associated function’s name. - traits:
Zero or more traits to apply to this test.