sekuire test
Run local test suites before publishing.
Usage
sekuire test [OPTIONS]
Options
| Option | Description |
|---|---|
--suite <SUITE> | Suite to run: all, manifest, policy, endpoints, handshake (default: all) |
--agent-url <URL> | Agent URL for endpoint/handshake checks (default: http://localhost:8000) |
--fail-fast | Stop after first failure |
--registry <URL> | Registry URL for verification checks (default: https://api.sekuire.ai) |
Examples
# Run every suite
sekuire test
# Handshake only
sekuire test --suite handshake --agent-url http://localhost:8000
# Stop on first failure
sekuire test --suite all --fail-fast
Suites
| Suite | What It Checks |
|---|---|
manifest | sekuire.yml validity and local Sekuire ID derivation |
policy | policy.json parsing + signature/hash validation (if present) |
endpoints | /health plus optional /metrics, /agent/info, /a2a/tasks |
handshake | /sekuire/handshake reachability and response behavior |
all | Runs manifest, policy, endpoints, then handshake |
Sample Output
$ sekuire test --suite all
Running Sekuire Agent Tests
Suite: all
Agent URL: http://localhost:8000
[manifest] Validating sekuire.yml... PASS
[policy] Checking policy.json... PASS
[endpoints] Checking agent endpoints... PASS
[handshake] Testing handshake protocol... PASS
Test Results: 4 passed, 0 failed
All tests passed!