Skip to content

Glossary: Swift Beyond the Basics

Swift Testing

Also written: XCTest, import Testing, @Test

The testing library built into Swift 6, loaded with `import Testing`, where tests are functions marked `@Test`. XCTest is the older framework still found in many projects.

Where the book teaches it

Related terms

#expectsuiteparameterized test