skillfed

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

1,095 81 MIT updated by CharlesWiltgen

Install

CharlesWiltgen/Axiom/axiom-testing · repository language: Go

CLI (skillfed)coming soon
git clone https://github.com/CharlesWiltgen/Axiom
cp -r Axiom/axiom-codex/skills/axiom-testing ~/.claude/skills/axiom-testing

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)

Read as markdown · JSON record · Browse the source repository

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

Related skills

Tags

unit-testing-framework ui-automation-patterns async-concurrency-testing test-performance-optimization flaky-test-debugging xcode-test-recording test-architecture-design ci-cd-integration accessibility-testing