agentleFS
SentryKnown publishergetsentry/sentry-cocoa/TestApps/AGENTS.md

sentry-cocoa / TestApps

AGENTS.md1.1k starsChanged 3 months agoMITView on GitHub

Scope: TestApps/**. Also follow root instructions. CRITICAL: ALWAYS use the Makefile to regenerate test app projects. Never run xcodegen directly. For each test app, you can: The following test apps have UI test suites:

Trending

Quiet this year.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the getsentry/sentry-cocoa repository that our weekly crawl found: only 13 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about getsentry/sentry-cocoa

The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 13

Talked about on GitHub (13 times).

On GitHub · 13

8 more on GitHub
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository8 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Put source in Sources/, assets in Resources/, and Info.plist, entitlements, and xcconfig files in Configuration/

    line 7
  2. Very specific:

    Run affected UI tests with make test-testapp-<name>-ui when behavior changes

    line 21
  3. Very specific:

    Use make test-ui-critical for critical UI coverage

    line 22
  4. Very specific:

    Follow assertion conventions in Tests/AGENTS.md

    line 23
  5. Very specific:

    CRITICAL: ALWAYS use the Makefile to regenerate test app projects.

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Test Apps

Scope: TestApps/**. Also follow root instructions.

Layout

  • Put source in Sources/, assets in Resources/, and Info.plist, entitlements, and xcconfig files in Configuration/
  • Preserve empty required directories with .gitkeep

Project Generation

  • Generate XcodeGen-based test app projects through Make targets, never by invoking xcodegen directly
  • Build one package-based test app with swift build --package-path TestApps/<name>
  • Generate one XcodeGen project with make xcode-ci-<name>
  • Generate all XcodeGen projects with make xcode-ci
  • Generate and build one testapp with make build-testapp-<name>

Validation

  • Build affected test apps with make build-testapp-<name>
  • Run affected UI tests with make test-testapp-<name>-ui when behavior changes
  • Use make test-ui-critical for critical UI coverage
  • Follow assertion conventions in Tests/AGENTS.md

Generating TestApp Projects

CRITICAL: ALWAYS use the Makefile to regenerate test app projects. Never run xcodegen directly.

# Regenerate a specific project (without building)
make xcode-ci-iOS-Swift

# Regenerate all Xcode projects
make xcode-ci

# Regenerate AND build a specific test app
make build-testapp-iOS-Swift

TestApp Workflow

For each test app, you can:

  1. Generate — Create/update Xcode project from .yml spec
  2. Build — Compile the test app
  3. Test — Run UI tests (for apps with UI test suites)

Commands

CommandDescription
Generate (Project Creation)
make xcode-ciRegenerate all Xcode projects
make xcode-ci-<name>Regenerate specific project (e.g., xcode-ci-SPM)
Build
make build-testappsBuild all test apps
make build-testapp-<name>Build specific test app (e.g., build-testapp-iOS-Swift)
make <target> FOR_AGENTS=trueReduce output for supported SDK platform build/test targets. Inspect raw-*-output.log only when reduced output is inconclusive.
Test (UI Tests)
make test-testapps-uiRun all test app UI tests
make test-testapp-<name>-uiRun specific test app UI tests (e.g., iOS-Swift-ui)
make test-ui-criticalRun critical UI test suites for validation

Test Apps with UI Tests

The following test apps have UI test suites:

  • iOS-Swift — Comprehensive UI tests for iOS Swift test app
  • iOS-SwiftUI — SwiftUI-specific UI tests including feedback
  • iOS-Swift6 — Swift 6 compatibility tests
  • iOS-ObjectiveC — Objective-C UI tests
  • macOS-Swift — macOS app UI tests
  • tvOS-Swift — tvOS app UI tests

Each UI test target follows the naming pattern <TestAppName>-UITests and references a test plan at Plans/<TestAppName>_Base.xctestplan.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.