axiom-testing

Write, debug, and optimize Swift unit and UI tests.

34|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DengNaichen/Stet --skill axiom-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-testing
Source: https://github.com/DengNaichen/Stet/tree/main/.agents/skills/axiom-testing
Command: npx skills add https://github.com/DengNaichen/Stet --skill axiom-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill resolves uncertainty and inefficiency in the testing lifecycle by providing a unified, expert-driven framework for writing, debugging, and optimizing tests across the entire Swift ecosystem.

Core Features & Use Cases

  • Testing Strategy: Provides clear guidance on choosing between Swift Testing and XCTest, including migration paths.
  • Reliability & Speed: Offers patterns for condition-based waiting to eliminate flaky UI tests and architectural advice for running tests without the simulator.
  • Advanced Evaluation: Integrates the Evaluations framework for testing generative AI features where deterministic assertions are insufficient.

Quick Start

Use the axiom-testing skill to audit my current test suite for flaky patterns and suggest improvements.

Frequently Asked Questions about axiom-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix flaky XCUITest UI tests in Swift?

Fix flaky XCUITest UI tests by replacing fixed sleep delays with condition-based waiting patterns, ensuring UI elements are fully ready before test interactions execute reliably.

What is the best way to migrate from XCTest to Swift Testing?

Migrating from XCTest to Swift Testing involves evaluating your existing test suite and following structured migration paths to transition tests to Swift Testing macros for faster feedback loops.

How do I test generative AI features in Swift when deterministic assertions fail?

Test generative AI features in Swift using the Evaluations framework, which provides specialized assessment mechanisms for non-deterministic AI outputs where standard deterministic assertions fail.

Can I run Swift unit tests without launching the simulator for faster feedback?

Yes, you can run Swift unit tests without the simulator by applying specific architectural best practices that isolate test targets, enabling faster feedback loops during execution.

How do I handle asynchronous test patterns in Swift Testing?

Handling asynchronous test patterns in Swift Testing requires using built-in language concurrency features and specific macros designed to await and validate async operations safely.