Skip to content

Tell agents to scope test runs and use -n auto - #4079

Closed
r4victor wants to merge 1 commit into
masterfrom
worktree-agents-md-test-scope
Closed

Tell agents to scope test runs and use -n auto#4079
r4victor wants to merge 1 commit into
masterfrom
worktree-agents-md-test-scope

Conversation

@r4victor

@r4victor r4victor commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Adds two bullets to the Testing Guidelines in AGENTS.md:

  • Scope test runs to the change (affected modules / Test* classes / -k) instead of always running the full suite; reserve the full suite for broad or cross-cutting changes.
  • Speed up large runs with -n auto (pytest-xdist, already a dev dependency).

Verified uv run pytest src/tests/_internal/server/test_app.py -n auto -q works: 14 passed, 15 skipped in 4.25s.

Docs only, no behavior change.

AI assistance: written with Claude Code.

🤖 Generated with Claude Code

@r4victor r4victor closed this Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant