Skip to content

agents: keep agent script tests co-located with agent code - #4498

Merged
rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:colocate_agent_script_tests
Nov 13, 2026
Merged

rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:colocate_agent_script_tests

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

Agent script tests under .agents/ belong alongside the scripts they
exercise rather than under tests/, which tests rules_python itself.

Move cleanup_test.py and its Bazel py_test target back to
.agents/skills/conversation-done/scripts/, remove tests/agents/, and
document co-locating .agents/ tests in AGENTS.md and testing.md.

Agent script tests under `.agents/` belong alongside the scripts they
exercise rather than under `tests/`, which tests `rules_python` itself.

Move `cleanup_test.py` and its Bazel `py_test` target back to
`.agents/skills/conversation-done/scripts/`, remove `tests/agents/`, and
document co-locating `.agents/` tests in `AGENTS.md` and `testing.md`.
@rickeylev
rickeylev requested a review from aignas as a code owner November 13, 2026 18:26
@rickeylev

Copy link
Copy Markdown
Collaborator Author

This pull request was authored with AI assistance. @rickeylev will
review and approve any agent-assisted responses before they are posted,
or respond to review comments directly.

This is an automatically generated agent comment.

@rickeylev
rickeylev enabled auto-merge November 13, 2026 18:28
@rickeylev
rickeylev merged commit 00dd751 into bazel-contrib:main Nov 13, 2026
15 checks passed
@rickeylev
rickeylev deleted the colocate_agent_script_tests branch November 13, 2026 19:06
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