Loading...
Loading...
Use when writing ANY test, debugging flaky tests, making tests faster, or choosing Swift Testing vs XCTest. Covers unit tests, UI tests, async testing, test architecture.
npx skill4agent add charleswiltgen/axiom axiom-testing| Symptom / Task | Reference |
|---|---|
| Writing unit tests, Swift Testing (@Test, #expect) | See |
| Making tests run without simulator | See |
| Parameterized tests, tags, traits | See |
| Migrating from XCTest to Swift Testing | See |
| Testing async/await functions | See |
| confirmation for callbacks | See |
| @MainActor tests, parallel execution | See |
| Writing UI tests, XCUITest | See |
| Condition-based waiting patterns | See |
| Recording UI Automation (Xcode 26) | See |
| Network conditioning, multi-factor testing | See |
| XCUIElement queries, waiting strategies | See |
| Accessibility identifiers, test plans | See |
| CI/CD test execution | See |
| Record/Replay/Review workflow (Xcode 26) | See |
| Test plan multi-configuration replay | See |
| Enhancing recorded tests for stability | See |
digraph testing {
start [label="Testing task" shape=ellipse];
what [label="What kind of test?" shape=diamond];
start -> what;
what -> "skills/swift-testing.md" [label="unit tests,\nSwift Testing,\nfast tests"];
what -> "skills/testing-async.md" [label="testing async code,\ncallbacks,\nconfirmation"];
what -> "skills/ui-testing.md" [label="UI tests,\nflaky tests,\nrecording"];
what -> "skills/xctest-automation.md" [label="XCUITest patterns,\nelement queries"];
what -> "skills/ui-recording.md" [label="Xcode 26\nRecord/Replay/Review"];
}skills/swift-testing.mdskills/testing-async.mdskills/ui-testing.mdskills/xctest-automation.mdskills/ui-recording.md/axiom:audit testing| Need | Use |
|---|---|
| Unit tests (logic, models) | Swift Testing |
| UI tests (tap, swipe, assert screens) | XCUITest (XCTest) |
| Tests without simulator | Swift Testing + Package/Framework |
| Parameterized tests | Swift Testing |
| Performance measurements | XCTest (XCTMetric) |
| Objective-C tests | XCTest |
skills/swift-testing.mdskills/testing-async.mdskills/ui-testing.mdskills/xctest-automation.mdskills/ui-recording.mdtesting-auditor/axiom:audit testingtest-failure-analyzer| Thought | Reality |
|---|---|
| "Simple test question, I don't need the skill" | Proper patterns prevent test debt. |
| "I know XCTest well enough" | Swift Testing is significantly better for unit tests. Migration guide included. |
| "Tests are slow but it's fine" | Fast tests enable TDD. |
| "I'll fix the flaky test with a sleep()" | sleep() makes tests slower AND flakier. |
| "I'll add tests later" | Tests written after implementation miss edge cases. |
skills/swift-testing.mdskills/ui-testing.mdskills/testing-async.mdskills/testing-async.mdskills/swift-testing.mdskills/swift-testing.mdskills/ui-recording.md