diff options
Diffstat (limited to 'tests/claude-code/README.md')
| -rw-r--r-- | tests/claude-code/README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/claude-code/README.md b/tests/claude-code/README.md index e53647b..473f1f2 100644 --- a/tests/claude-code/README.md +++ b/tests/claude-code/README.md @@ -115,6 +115,18 @@ Full workflow execution test (~10-30 minutes): - Subagents follow the skill correctly - Final code is functional and tested +#### test-requesting-code-review.sh +Behavioral test for the code reviewer subagent (~5 minutes): +- Builds a tiny project with a baseline commit +- Adds a second commit that plants two real bugs (SQL injection, plaintext password handling) +- Dispatches the code reviewer via the requesting-code-review skill +- Verifies the reviewer flags the planted bugs at Critical/Important severity and refuses to approve + +**What it tests:** +- The skill actually dispatches a working code reviewer subagent +- The reviewer template produces reviewers that catch obvious security bugs +- The reviewer is not sycophantic — it does not approve a diff with planted Critical issues + ## Adding New Tests 1. Create new test file: `test-<skill-name>.sh` |
