Swift Testing is the modern way to write tests for Swift code. It works with Xcode 16 and Swift 6. You can replace old XCTest tests with simpler and faster alternatives. Use @Test to mark a test. Use #expect to check results and continue. Use #require to stop the test if a value is missing. This framework runs tests in parallel to save time. It helps developers catch bugs early. Anyone writing Swift code can benefit from cleaner and more reliable tests.
This skill covers basic tests, organizing them with @Suite, and advanced features like exit tests and attachments. It also explains how to migrate from XCTest. You will learn when to keep XCTest for UI or performance tests. The goal is to make testing easier and more powerful for every Swift developer.
Global
mkdir -p ~/.claude/skills/swift-testingProject
mkdir -p .claude/skills/swift-testingSource Repository
Grill Memattpocock/skills
Stress-test your plan with relentless questions until we both understand
Tddmattpocock/skills
Write one test at a time then code to make it pass
Test Driven Developmentobra/superpowers
Write a failing test first then code just enough to pass
Qamattpocock/skills
Turn bug reports into GitHub issues through natural conversation without technical fuss
Migrate To Shoehornmattpocock/skills
Replace unsafe as assertions with type-safe partial test data easily
Webapp Testinganthropics/skills
Test your local web apps quickly with Playwright automation and screenshots
Playwright Best Practicescurrents-dev/playwright-best-practices-skill
Master Playwright testing with best practices for reliable and fast tests
Google Agents Cli Evalgoogle/agents-cli
Run evaluations on your AI agent, find failures, and improve its quality step by step