swift_testing
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
Quick Reference
Basic Test
More from swiftzilla/skills
swift_swiftui
SwiftUI framework concepts including property wrappers, state management, and reactive UI patterns.
51swift_concurrency
Swift modern concurrency with async/await, Task, Actor, Swift 6 strict mode, Sendable, and structured concurrency patterns.
40swift_style
Swift style guidelines covering naming conventions, code organization, and best practices for writing idiomatic Swift code.
35swift_combine
Swift Combine framework for reactive programming, handling asynchronous events with publishers, subscribers, and operators.
32swift_structure
Swift language structures including collections, optionals, closures, generics, control flow, and core language features.
24swift_package_manager
Swift Package Manager (SPM) for dependency management, package creation, and modular code organization.
24