test: name tests by behavior and fold duplicates #36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "test/behavior-names"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The Agent Foundry upgrade to c46008c added the rule that each regression
test's name states the behavior it guards and that a behavior has one
test. Some names claimed checks their tests don't make or hid what they
check, and several checks were tested more than once, often outside the
suite that owns them.
What changed
into one: the key-agent mount, workspace-file mounts, Claude's repeat
dry run, Codex's dry-run/real pairs, malformed env lines, reserved
registry ids, and the host-sensitive name list.
folder, and per-identity state, is tested once in the suite that owns
it, with the modes and cases the copies held.
Overlaps that keep a distinct remainder stay as they are.
Verification
make lint && .agents/hooks/shellcheck.sh repo && make test: 33 filesclean, 304 tests, 0 failures. Removing each folded check from
bin/azkabanmakes its remaining test fail.