diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-05 12:05:38 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-05 12:05:38 +0000 |
| commit | 1e267c282d07c68dbee4682c66d3933032ed7fec (patch) | |
| tree | 54b24878684ad2a569cb939508d48faaa24c3758 /src/git/subprocess.rs | |
| parent | d9c9ef2ff92b687f5ff5585b08b2eead8f139a02 (diff) | |
feat(grasp-audit): standardize testing with test-ngit-relay.sh
Establish test-ngit-relay.sh as the canonical testing approach for
GRASP-01 compliance tests, eliminating manual relay setup and ensuring
consistent, reproducible test environments.
**Enhanced test-ngit-relay.sh:**
- Add command-line argument parsing (--mode, --spec, --help)
- Support both audit and test execution modes
- Comprehensive inline documentation
- Backward compatible (default behavior unchanged)
**Documentation updates:**
- AGENTS.md: Add "Standard Testing Process" section
- AGENTS.md: Update Quick Reference to prioritize test-ngit-relay.sh
- AGENTS.md: Add Critical Gotcha #7 about using the test script
- grasp-audit/README.md: Add prominent Quick Start section
- grasp-audit/README.md: Reorganize testing documentation
**Benefits:**
- Automatic relay lifecycle management (start, cleanup)
- Random port selection prevents conflicts
- Isolated temporary directories per run
- Guaranteed cleanup on success or failure
- Consistent test environment across all developers
All changes tested and verified working.
Diffstat (limited to 'src/git/subprocess.rs')
0 files changed, 0 insertions, 0 deletions