Skip to content

Glossary: SwiftUI

@Test

Also written: Test

An attribute placed before a function to mark it as a Swift Testing test that Xcode can run.

Where the book teaches it

Related terms

#expect#requireSwift Testingunit test