Skip to content
Back to skills

Ios Testing

ASecurity

Use when writing or fixing unit tests, UI tests or Maestro end-to-end tests in the iOS app (AgenticApp), or when a pull request check is red.

  • 5 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 18, 2026
ai-agentsswifttestingapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 18, 2026

npx -y skills add erumkatzwan/agentic-product-starter --skill ios-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ios Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ios Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/erumkatzwan-ios-testing/badge)](https://www.skillsdirectory.com/skills/erumkatzwan-ios-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ios-testing
description: Use when writing or fixing unit tests, UI tests or Maestro end-to-end tests in the iOS app (AgenticApp), or when a pull request check is red.
---

# iOS testing

Every story ships with all three layers. Pull requests cannot merge unless all checks are green.

| Layer | Where | Runs | Command |
|---|---|---|---|
| Unit | `AgenticAppTests/` | View models, services, networking, flags | `make test-unit` |
| UI | `AgenticAppUITests/` | Real app on the simulator with fixture data | `make test-ui` |
| End-to-end | `e2e/flows/*.yaml` (Maestro) | Full user journeys on the simulator | `make e2e` |

## Rules

- Unit tests use the test doubles in `AgenticAppTests/TestDoubles.swift` (`MockAPIClient`, `StubItemsRepository`, `StubURLProtocol`). No real network.
- Name tests `test<Behaviour>` and structure them arrange / act / assert.
- UI and end-to-end tests launch with `-uiTesting`, so the app uses `FixtureAPIClient` and `Resources/Fixtures/*.json`.
- Find elements by `accessibilityIdentifier`, never by position or styling.
- Flip feature flags in tests with launch arguments, for example `-FF_settings NO`.
- Coverage gate: logic coverage (views, design system and app wiring excluded) must stay at or above 70%.

## When a check is red

- `iOS lint` – run `make lint` and fix every warning.
- `iOS spelling` – run `make typos`; fix the word or add it to `_typos.toml` if it is a real term.
- `iOS unit tests and coverage` – run `make test-unit`; add tests if coverage dropped.
- `iOS UI tests` / `iOS end-to-end tests` – run locally, then open the `.xcresult` artifact from the failed run.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.