Skip to main content

sekuire test

Run local test suites before publishing.

Usage

sekuire test [OPTIONS]

Options

OptionDescription
--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-fastStop 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

SuiteWhat It Checks
manifestsekuire.yml validity and local Sekuire ID derivation
policypolicy.json parsing + signature/hash validation (if present)
endpoints/health plus optional /metrics, /agent/info, /a2a/tasks
handshake/sekuire/handshake reachability and response behavior
allRuns 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!

Next Steps

  • publish - Push after passing local checks
  • verify - Verify deployed identity against registry data