upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/README.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-11-05 12:46:02 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-11-05 12:46:02 +0000
commit94bf5c39af0d8d0a9a15db240d5d46383ec22160 (patch)
tree08f92f780d066c80d271694bfc16bbfcc0dc1bae /grasp-audit/README.md
parent6b78ed707a69e22e5fadd5bd0999c16a0931bbaa (diff)
Fix cargo test invocation in test-ngit-relay.sh and documentation
- Changed from 'cargo test --lib test_grasp01_nostr_relay_against_relay' to 'cargo test --lib -- --ignored --nocapture' - This correctly runs ALL library tests marked with #[ignore], not just GRASP-01 - Updated AGENTS.md and grasp-audit/README.md with correct commands - Added examples showing both 'run all ignored tests' and 'run specific test' patterns
Diffstat (limited to 'grasp-audit/README.md')
-rw-r--r--grasp-audit/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/grasp-audit/README.md b/grasp-audit/README.md
index 97a6429..b1dcb15 100644
--- a/grasp-audit/README.md
+++ b/grasp-audit/README.md
@@ -178,7 +178,10 @@ docker run --rm -p 18081:8081 ghcr.io/danconwaydev/ngit-relay:latest
178# In another terminal, run tests with RELAY_URL 178# In another terminal, run tests with RELAY_URL
179grasp-audit audit --relay ws://localhost:18081 --mode ci 179grasp-audit audit --relay ws://localhost:18081 --mode ci
180 180
181# or specific test via cargo 181# or run all ignored tests via cargo
182RELAY_URL="ws://localhost:18081" cargo test --lib -- --ignored --nocapture
183
184# or run specific test via cargo
182RELAY_URL="ws://localhost:18081" cargo test --lib test_grasp01_nostr_relay_against_relay -- --ignored --nocapture 185RELAY_URL="ws://localhost:18081" cargo test --lib test_grasp01_nostr_relay_against_relay -- --ignored --nocapture
183``` 186```
184 187