From 1c21e8650fe643f0149dac6dedf0a78c0a2be649 Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Tue, 18 Aug 2026 21:26:20 -0700 Subject: [PATCH] agents: document direct integration test execution in testing rules Integration tests under tests/integration/ are filtered out by --config=fast-tests. Document how to invoke them directly without the flag when verification of full integration behavior is needed. --- .agents/rules/testing.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.agents/rules/testing.md b/.agents/rules/testing.md index 769197f968..05bc7cb80c 100644 --- a/.agents/rules/testing.md +++ b/.agents/rules/testing.md @@ -4,6 +4,13 @@ * Always pass `--config=fast-tests` when running or building test targets to avoid running expensive, flaky integration tests. +## Running Integration Tests Directly +* Integration tests under `tests/integration/` are tagged + `["integration-test", "enormous"]` and are filtered out by + `--config=fast-tests`. +* To run a specific integration test target directly, omit + `--config=fast-tests`: `bazel test //tests/integration:`. + ## CRITICAL: Never use `--config=fast-tests` on Non-Test Targets * `--config=fast-tests` sets `--build_tests_only=true`, which silently ignores non-test targets (such as `//docs:docs` or package libraries), resulting in 0