Testing Rust Canisters
TODO: Write content for this page.
Test Rust canisters with unit tests and integration tests. Cover mocking ic-cdk calls for unit testing, the PocketIC Rust library for integration tests, test patterns (deploy, call, assert), testing upgrades, and CI setup. Show a complete test example for a simple canister.
- Examples: unit_testable_rust_canister (Rust)
- Rust CDK: https://docs.rs/ic-cdk/latest/ic_cdk/
- guides/testing/strategies — general testing strategy
- guides/testing/pocket-ic — PocketIC details
- languages/rust/index — Rust CDK overview