Xcode Workflows
Xcode Workflows
Section titled “Xcode Workflows”When to use this reference
Section titled “When to use this reference”Use this file when debugging failures quickly in Xcode, configuring focused test plans, and extracting insights from large test reports.
Test Navigator usage
Section titled “Test Navigator usage”- Run tests at function, suite, tag, and argument level.
- In parameterized tests, rerun only failing arguments for fast iteration.
- Use “Group by Tag” to inspect cross-suite behavior quickly.
Example flow
Section titled “Example flow”- Run suite.
- Open failing parameterized argument.
- Rerun only that argument to iterate quickly.
Filtering and grouping
Section titled “Filtering and grouping”- Use tag filters in navigator for focused development loops.
- Keep tag naming stable so teams can reuse filters and plans.
- Prefer tag-based include/exclude over fragile test-name patterns.
Suggested tag conventions
Section titled “Suggested tag conventions”core- always-on fast checksintegration- external dependency coverageregression- bug-fix lock-in testsflaky- temporary quarantine while fixing
Test plans
Section titled “Test plans”- Configure include/exclude tags per target in test plans.
- Use “any tags” vs “all tags” intentionally when combining filters.
- Maintain separate plans for:
- fast core checks
- integration checks
- slower/optional scenarios
Example plan strategy
Section titled “Example plan strategy”Coreplan: includecore, excludeintegration.Integrationplan: includeintegration, excludeflaky.ReleaseGateplan: includecoreandregression.
Report triage
Section titled “Report triage”- Review distribution insights for failure clustering by tags/bugs/destinations.
- Investigate grouped failures first (often indicates systemic regressions).
- Ensure disabled/known-issue reasons are visible and actionable in reports.
Triage sequence
Section titled “Triage sequence”- Check if failures cluster by a shared tag.
- Open one representative failure.
- Confirm whether root cause is common (dependency/outage/config) or test-local.
- Fix root cause, then remove temporary known-issue annotations.
Diagnostic quality
Section titled “Diagnostic quality”- Keep expectations expressive and narrow.
- Improve argument/type descriptions for faster root-cause identification.
- Ensure bug traits link to trackable issues.
Checklist
Section titled “Checklist”- Tag naming is consistent across suites.
- Test plans reflect team workflow (local dev, CI, release).
- Parameterized failures are rerun at argument-level before broad reruns.