
Analyze Selective Testing
When your Xcode selective testing suddenly stops skipping tests and effectiveness tanks from 75% to 15%, this walks you through the diagnosis. It queries Tuist's test run data to count cache hits by target, compares hash changes between runs, and points you at the root cause, whether that's an Xcode version bump that invalidated everything or a core dependency change that cascaded. The analysis is methodical: pull test run JSON, calculate effectiveness percentages, diff target statuses between good and bad runs, then give you concrete next steps. It's built for the specific moment when your test suite that used to skip 60% of unchanged targets is suddenly running everything and you need to know why.
- skills.sh installs
- 304
- GitHub stars
- 35
- last updated
- Aug 21, 2026
Install
$ npx -y skills add tuist/agent-skills --skill analyze-selective-testing --agent claude-codeInstalls into .claude/skills of the current project.
Files
Analyze Selective Testing
Quick Start
- Run
tuist test list --jsonto find test runs. - Run
tuist test xcode target list <test-run-id> --jsonto see per-target selective testing status. - If effectiveness dropped, compare targets between a known-good run and the regressed run.
Step 1: Resolve Test Runs
Find the test run to analyze
List recent test runs, optionally filtering by branch:
tuist test list --json --page-size 10
tuist test list --git-branch feature-x --json --page-size 5
Get basic info for a specific test run:
tuist test show <test-run-id> --json
Use this to confirm the run's branch, status, scheme, and environment (xcode_version, macos_version).
Defaults
- If no test run is specified, use the most recent CI test run on the current branch.
- For comparison, use the most recent CI test run on the project's default branch.
Step 2: Drill Into Selective Testing Targets
List per-target selective testing data for a test run:
tuist test xcode target list <test-run-id> --json
Sponsors
Details
- Repository
- github.com/tuist/agent-skills
- Categories
- Testing & QA, AI & Agent Building, Mobile Development
- First seen
- Jun 3, 2026