# Test Macos App

> Test Macos App is an Agent Skill for testing & quality published in the robinebers/openusage repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Slash command that runs the smallest meaningful macOS test scope first and explains failures by category. Invoke explicitly with /test-macos-app — this skill never self-triggers.

- Skill name: `test-macos-app`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/robinebers/openusage/blob/HEAD/.agents/skills/test-macos-app/SKILL.md
- Repository: robinebers/openusage (3,353 GitHub stars when collected)

## SKILL.md

# Test macOS App

Run the smallest meaningful macOS test scope first and explain failures by category.

## Arguments

- `scheme`: Xcode scheme name (optional)
- `target`: test target or product name (optional)
- `filter`: test filter expression (optional)
- `configuration`: `Debug` or `Release` (optional, default: `Debug`)

## Workflow

1. Detect whether the repo uses `xcodebuild test` or `swift test`.
2. Prefer focused test execution when a target or filter is provided.
3. Classify failures as compile, assertion, crash, env/setup, or flake.
4. Summarize the top blocker and the narrowest sensible next step.

## Guardrails

- Avoid rerunning the full suite if a focused rerun is possible.
- Distinguish build failures from actual failing tests.
- Note when host app setup or simulator-only test assumptions leak into a macOS run.

---

Source: https://www.openparable.com/skill/testing-quality/test-macos-app (OpenParable). Cite the canonical URL above.
