
swift-testing-expert
Expert guidance for Swift Testing: test structure, #expect/#require macros
by avdleeFree
Description
swift-testing-expert is an agent skill from Antoine van der Lee's Swift testing skill repository, listed on skills.sh. It guides an AI agent to write, review, migrate and debug Swift tests with the Swift Testing framework. It favours readable tests and parallel-safe execution, uses #expect as the default assertion and #require when later lines depend on a value, and recommends traits such as enabled, disabled, timeLimit and tags over naming tricks. It advises parameterized tests when cases differ only by input, and it covers migrating from XCTest in small steps. The skill keeps XCTest for UI automation with XCUIApplication, performance metrics and Objective-C-only tests. It also tells the agent to fix shared state before reaching for serialized execution. It suits iOS and macOS developers who want an agent to handle their Swift test code. A skill is a SKILL.md file of instructions that an AI agent loads only when a task calls for it. It is free and open source on GitHub.…
Highlights
- #expect and #require assertions
- Traits, tags and time limits
- Parameterized tests and parallel execution
- Incremental migration from XCTest
Ratings & Reviews
No ratings yet
Be the first to rate swift-testing-expert.
People also visit
swift-testing-expert FAQ
What does the swift-testing-expert skill cover?
Writing, reviewing, migrating and debugging Swift tests with Swift Testing, including assertions, traits, parameterized tests and parallel execution.
How do I install it?
Run: npx skills add https://github.com/avdlee/swift-testing-agent-skill --skill swift-testing-expert.
Is it free?
Yes. The skill is free and open source.
Does it replace XCTest completely?
No. The skill keeps XCTest for UI tests with XCUIApplication, XCTMetric performance tests and Objective-C-only test code.
How does it handle tests that share state?
It says to propose fixing the shared state first and only then apply .serialized.
What is an agent skill?
A SKILL.md file of instructions that an AI agent such as Claude Code loads when a task calls for it, so it follows the same steps each time.
What are the best swift-testing-expert alternatives?
Popular alternatives to swift-testing-expert include swift-testing-pro, swift-testing and axiom-testing. See all swift-testing-expert alternatives














