swift_testing
Installation
SKILL.md
Swift Testing
This skill covers the modern Swift Testing framework introduced in Swift 5.9 for writing clean, expressive tests.
Overview
Swift Testing is Apple's modern testing framework that provides a more expressive and flexible way to write tests compared to XCTest. It features Swift-native syntax, parameterized tests, and better async support.
Available References
- Test Basics - Test declarations, assertions, and lifecycle
- Async Testing - Testing async/await code
- Parameterized Tests - Running tests with multiple inputs
- Test Organization - Suites, tags, and test structure