Expand description
Focused PocketIC test-harness utilities for Internet Computer canisters.
Import native PocketIC clients and DTOs directly from ic_platform::pocket_ic.
pic adds optional typed Wire calls, extension traits for
installation, diagnostics and snapshots, startup errors, caller-owned
managed-server startup and bounded readiness polling. It does not provide a
simulator wrapper or a host-wide runtime lock.
The crate also provides:
- marker parsing, aggregation, comparison, and reports in
benchmark; - canister-side marker emission in
performance(Wasm only); - deterministic test principals through
fake_principal.
The pic helpers are unavailable
when compiling for wasm32; benchmark data types and marker emission remain
available to canister code.
Modules§
- benchmark
- Parse, pair, aggregate, compare, and report compact benchmark markers.
- pic
PocketIChost-test harness extensions.
Functions§
- fake_
principal - Deterministically derive a test
Principalfromseed.