diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-20 22:15:03 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-20 22:20:28 +0000 |
| commit | 519fdc66930280cd1772417dca327ed858333d64 (patch) | |
| tree | 4b20e18ccbc7406106bc72316dc3e26f2b58495f /src/git/subprocess.rs | |
| parent | ca50f5b98f30d0933a510c05db86b608afee73a0 (diff) | |
refactor: isolate each grasp-audit lib test with minimal boilerplate
- Add isolated_test! macro pattern to nip34_announcements.rs and nip01_compliance.rs
- Each test runs with its own fresh relay instance for complete isolation
- Make all individual test functions public in grasp-audit library (nip01_smoke.rs, event_acceptance_policy.rs)
- Eliminates 122 lines of boilerplate across integration tests
- Tests: 15 GRASP-01 event acceptance policy tests + 6 NIP-01 smoke tests
- Ensures tests don't interfere with each other, preventing flakiness
Diffstat (limited to 'src/git/subprocess.rs')
0 files changed, 0 insertions, 0 deletions