Agent skill

swift-unit-tests

How to run swift unit tests

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/swift-unit-tests-diegopetrucci-ios-agents-skills-4e21a65e

SKILL.md

  1. List available simulators with xcrun simctl list devices available
  2. If one is booted already, use that. Prefer iPhone xx Pros, the latest ones
  3. Run the unit tests with xcodebuild test -project YourApp.xcodeproj -scheme YourScheme -destination 'platform=iOS Simulator,name=iPhone 17 Pro'. The app is usually in the root of the directory. The simulator is the one from step 2. The scheme has to be found out

Didn't find tool you were looking for?

Be as detailed as possible for better results