test: consolidate forge coverage #28

Merged
vnprc merged 2 commits from agent/test-forge into master 2026-06-07 19:19:08 +01:00
Member

Replaces the monolithic Forge test with behavior-oriented suites and preserves the merged issue-close coverage:

  • read.sh: 17 checks
  • mutations.sh: 20 checks
  • issue-close.sh: 17 checks
  • validation.sh: 16 checks
  • testlib.sh: shared isolated Git/curl mocks and result helpers

Every scenario reports checks in the shared human-readable style:

  • ✅ N - description for each passing assertion
  • ❌ N - description with captured context on failure
  • per-script test counts and final all-passed summaries

Verification:

bash -n tests/forge/*.sh
for test in tests/forge/{read,mutations,issue-close,validation}.sh; do "$test"; done
Replaces the monolithic Forge test with behavior-oriented suites and preserves the merged issue-close coverage: - `read.sh`: 17 checks - `mutations.sh`: 20 checks - `issue-close.sh`: 17 checks - `validation.sh`: 16 checks - `testlib.sh`: shared isolated Git/curl mocks and result helpers Every scenario reports checks in the shared human-readable style: - `✅ N - description` for each passing assertion - `❌ N - description` with captured context on failure - per-script test counts and final all-passed summaries Verification: ```bash bash -n tests/forge/*.sh for test in tests/forge/{read,mutations,issue-close,validation}.sh; do "$test"; done ```
vnprc force-pushed agent/test-forge from 9b2420036f to e4de12b652 2026-06-07 19:16:25 +01:00 Compare
vnprc force-pushed agent/test-forge from e4de12b652 to b79ac80a9b 2026-06-07 19:18:40 +01:00 Compare
vnprc approved these changes 2026-06-07 19:19:01 +01:00
vnprc merged commit b79ac80a9b into master 2026-06-07 19:19:08 +01:00
vnprc deleted branch agent/test-forge 2026-06-07 19:19:08 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Allod/tools!28
No description provided.