Skip to content

PocketIC

TODO: Write content for this page.

Run integration tests using PocketIC, a lightweight IC replica for testing. Cover the Rust PocketIC library for Rust tests, Pic JS for JavaScript/TypeScript tests, multi-subnet testing, time travel (advancing time), and canister lifecycle in tests. Show setup, a basic test, and common patterns (deploy, call, assert).

  • guides/testing/strategies — when to use PocketIC vs unit tests
  • guides/governance/testing — SNS testflight with PocketIC
  • languages/rust/testing — Rust-specific testing patterns