diff options
Diffstat (limited to 'grasp-audit/test-ngit-relay.sh')
| -rwxr-xr-x | grasp-audit/test-ngit-relay.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/grasp-audit/test-ngit-relay.sh b/grasp-audit/test-ngit-relay.sh index bd4b155..ff6ac1a 100755 --- a/grasp-audit/test-ngit-relay.sh +++ b/grasp-audit/test-ngit-relay.sh | |||
| @@ -195,12 +195,13 @@ elif [ "$MODE" = "test" ]; then | |||
| 195 | # Run cargo test suite | 195 | # Run cargo test suite |
| 196 | # - RELAY_URL: Environment variable tests use to connect | 196 | # - RELAY_URL: Environment variable tests use to connect |
| 197 | # - --lib: Only library tests (not integration tests in tests/) | 197 | # - --lib: Only library tests (not integration tests in tests/) |
| 198 | # - test_grasp01_nostr_relay_against_relay: Specific test module | ||
| 199 | # - --ignored: Run tests marked with #[ignore] (these need relay) | 198 | # - --ignored: Run tests marked with #[ignore] (these need relay) |
| 200 | # - --nocapture: Show println! output from tests | 199 | # - --nocapture: Show println! output from tests |
| 200 | # This runs all library tests marked with #[ignore], including: | ||
| 201 | # - test_grasp01_nostr_relay_against_relay (GRASP-01 relay tests) | ||
| 202 | # - Any other integration tests requiring a relay | ||
| 201 | RELAY_URL="ws://localhost:$PORT" cargo test \ | 203 | RELAY_URL="ws://localhost:$PORT" cargo test \ |
| 202 | --lib test_grasp01_nostr_relay_against_relay \ | 204 | --lib -- --ignored --nocapture || { |
| 203 | -- --ignored --nocapture || { | ||
| 204 | echo "⚠️ Some tests failed" | 205 | echo "⚠️ Some tests failed" |
| 205 | echo " Review output above for details" | 206 | echo " Review output above for details" |
| 206 | } | 207 | } |