Integration tests and host tools
These standalone fixtures and host tools test the SDK across crate and canister boundaries. Crate-local and inline tests stay beside their SDK owners. Start with the test harness to select one crate, a suite or the parallel PR gate and inspect its JSON report.
| Source | Owns |
|---|---|
| Cargo.toml, canisters | Native fixture workspace and actual-canister lifecycle sources |
| rrt-chat | Chat workload fixtures and correctness host tests |
| authoring | Independent authoring clients and compile-time contract fixtures |
| pocketic | Pinned host clients, sessions, tracing and fixture runners |
| tools | Test-only builder, source-policy, authoring and client checks |
| fuzz | Shared native state/ownership models and deterministic or coverage-guided input campaigns |
| verification | Python verification-runner unit tests; formal proof sources remain in root verification/ |
The ABI mechanism probe owns actual-target layout and business-code variants. Native reflection tests stay with the SDK's memory-ABI crate.
The Ashroot probe checks optional indexed tables, relationships, mixed Nyxus/Hylix/Minima storage and explicit populated engine conversions. qualify-ashroot.py builds its separate feature images and runs fresh local IC lifecycle/cost samples.
Run commands from the repository root using source tools/env.sh. The
testing guide owns commands and qualification scope.
Use fresh output directories under tests/tmp; preserve failed captures and
keep native, actual IC and performance results distinct.
The root runner builds the current SDK host tool and generates a run-owned Wire runtime before dependent host checks. Direct Node invocations use the PocketIC helper setup instead.