diff --git a/Justfile b/Justfile index 32d83355e1..0103567367 100644 --- a/Justfile +++ b/Justfile @@ -316,6 +316,9 @@ test-unit: ./scripts/test-ensure-local-relay-key.sh if command -v cargo-nextest &>/dev/null; then cargo nextest run -p buzz-core -p buzz-auth --lib + # Broker request/response contracts are shared by every broker client + # and host, so their strict-wire and boundary tests must run in CI. + cargo nextest run -p buzz-sdk # buzz-auth NIP-FI verifier doctests. The sealed-authority # `compile_fail` doctests prove the default-feature public API alone # cannot forge the issuer→JWKS authority; nextest does not run diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 9dca8c82c3..3e2d558e57 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -81,6 +81,11 @@ run_unit_tests() { run_test_step "buzz-core tests" \ cargo test -p buzz-core --lib -- --nocapture + # Broker request/response contracts are shared by every broker client and + # host. Mirrors the nextest path in `just test-unit`. + run_test_step "buzz-sdk tests" \ + cargo test -p buzz-sdk -- --nocapture + run_test_step "buzz-auth unit tests" \ cargo test -p buzz-auth --lib -- --nocapture