axiom-testing
Axiom Testing guides you through writing and debugging tests across all iOS scenarios—from unit tests with Swift Testing to UI automation with XCUITest. Navigate async testing patterns, flaky test fixes, and test architecture decisions with clear decision trees and critical patterns for each testing domain.
Axiom Testing helps you write unit tests using Swift Testing or XCTest with patterns for async code, UI automation, and debugging.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-27
Axiom Testing helps you write unit tests using Swift Testing or XCTest with patterns for async code, UI automation, and debugging. Axiom Testing guides you through writing and debugging tests across all iOS scenarios—from unit tests with Swift Testing to UI automation with XCUITest. Navigate async testing patterns, flaky test fixes, and test architecture decisions with clear decision trees and critical patterns for each testing domain.
Use it when
- Axiom Testing provides decision trees to help you choose between Swift Testing and XCTest.
- Axiom Testing guides you through debugging and fixing flaky or failing tests by identifying root causes like race conditions, timing issues.
Verify before relying
Read SKILL.md below before installing (7 files). Open directory: indexed for reading, not audited.
Install
CharlesWiltgen/Axiom/axiom-testing · repository language: Go
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I write unit tests in Swift with axiom-testing?
Axiom Testing helps you write unit tests using either Swift Testing or XCTest. The skill guides you through both frameworks, showing when to choose each one based on your needs. Swift Testing offers modern syntax and better async support, while XCTest provides broader compatibility. Axiom Testing covers test structure, assertions, and best practices for each approach.
Swift Testing vs XCTest—which should I use with axiom-testing?
Axiom Testing provides decision trees to help you choose between Swift Testing and XCTest. Swift Testing excels with async/await code, parameterized tests, and cleaner syntax for modern projects. XCTest remains valuable for legacy codebases and broader tool integration. Axiom Testing shows the trade-offs and migration paths so you can pick the right fit.
How can axiom-testing help me fix flaky tests?
Axiom Testing guides you through debugging and fixing flaky or failing tests by identifying root causes like race conditions, timing issues, and improper async handling. The skill teaches you to use Xcode's debugging tools, add proper waiting strategies, and restructure tests for reliability. It covers both unit and UI test flakiness patterns.
How do I test async/await code without race conditions using axiom-testing?
Axiom Testing provides critical patterns for testing async/await code and callbacks reliably. It shows you how to avoid race conditions by using proper async test markers, MainActor isolation, and structured concurrency. The skill covers both Swift Testing's native async support and XCTest workarounds for safe concurrent testing.
What does axiom-testing teach about UI testing with XCUITest?
Axiom Testing covers UI testing with XCUITest and automation, including XCUIElement queries, waiting strategies, and accessibility identifiers. It teaches condition-based waiting to avoid flaky UI tests, recording automation in Xcode, and parallel execution patterns. The skill helps you build robust UI test suites that scale.
How can I improve test speed and architecture with axiom-testing?
Axiom Testing guides you through improving test speed and architecture by optimizing test structure, reducing simulator overhead, and parallelizing execution. It covers test plans with multi-configuration setups and CI/CD integration. The skill helps you balance coverage, speed, and maintainability across your test suite.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Testing
You MUST use this skill for ANY testing-related question, including writing tests, debugging test failures, making tests faster, or choosing between testing approaches.
<!-- AXIOM_AUDITOR_INLINE_BEGIN — auto-maintained by scripts/build-inlined-auditors.ts; do not hand-edit -->
> Not on Claude Code? Where this router says "Launch some-auditor agent", read that auditor's file in this suite and follow it inline — the same procedure, needing only file search and read.
>
> Available here: skills/test-failure-analyzer.md, skills/testing-auditor.md.
>
> Agents that need Bash — builds, tests, simulators, crash symbolication — stay Claude Code-only; there is no inline equivalent for those.
<!-- AXIOM_AUDITOR_INLINE_END -->
Quick Reference
| Symptom / Task | Reference |
|---|---|
| Writing unit tests, Swift Testing (@Test, #expect) | See skills/swift-testing.md |
| Making tests run without simulator | See |
(truncated - see the full file via the links below)
File tree — 7 files
axiom-codex/skills/axiom-testing/SKILL.md
axiom-codex/skills/axiom-testing/agents/openai.yaml
axiom-codex/skills/axiom-testing/skills/swift-testing.md
axiom-codex/skills/axiom-testing/skills/testing-async.md
axiom-codex/skills/axiom-testing/skills/ui-recording.md
axiom-codex/skills/axiom-testing/skills/ui-testing.md
axiom-codex/skills/axiom-testing/skills/xctest-automation.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Write unit tests using Swift Testing or XCTest”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Axiom Audit Testing systematically scans your test files and production code to surface flaky patterns, missing coverage on critical paths, and opportunities to modernize your test suite. It identifies sleep calls and shared state that cause timing failures, flags tests that require unnecessary simulator overhead, and maps which auth, payment, persistence, and networking flows lack test coverage. The agent also spots XCTestCase candidates ready for Swift Testing migration and detects ungrounded AI evaluation gates that generate false failures.
XCUITest skills equip coding agents with comprehensive API documentation and practical examples for building robust UI tests in Swift. Access current iOS testing patterns, SwiftUI integration guides, and real-world automation workflows designed for modern Apple development.
This skill streamlines iOS quality assurance by automating test runs through xcodebuild and simulator environments. It handles both unit and UI testing scenarios, enabling developers to validate app behavior consistently across test suites. Integrate it into your CI/CD pipeline for repeatable, reliable test execution.
This skill guides you through connecting external AI clients to Xcode via its MCP server (xcrun mcpbridge). It covers initial setup for different clients, configuring tool access permissions, and resolving connection problems. Use it when establishing MCP connections, invoking Xcode's 20 IDE tools, or diagnosing mcpbridge failures.
Master Swift Testing, the modern framework for Swift unit tests in Xcode 16+. Learn to write tests with @Test and @Suite, use #expect and #require for assertions, organize tests with traits, handle async patterns, and migrate from XCTest. This skill covers test attachments, exit testing, known issues, and version-gated APIs to help you build reliable test suites.
iOS Testing Patterns provides structured workflows for running unit and UI tests on simulators, analyzing results, and identifying intermittent failures. It covers test filtering, parallel execution across multiple devices, and strategies for isolating and debugging unreliable tests.
More skills Cometchat Ios Testing (unlicensed) · axiom-tools (MIT) · xcuitest-skill (MIT) · axiom-analyze-test-failures (MIT) · axiom-data (MIT)