Skip to content

Commit 88cd4cb

Browse files
authored
feat: Add example for how to write unit-testable rust canisters (#1270)
This provides an example of best practices for structuring canisters for easier unit testing, as well as an example of a PocketIC test that automatically updates the wasm under test when running the test. It contains multiple examples for how to write good tests in canisters that are easy to maintain.
1 parent e220863 commit 88cd4cb

File tree

16 files changed

+5592
-0
lines changed

16 files changed

+5592
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
/rust/tokenmania/ @dfinity/ninja-devs
8484
/rust/token_transfer/ @dfinity/growth
8585
/rust/token_transfer_from/ @dfinity/growth
86+
/rust/unit_testable_rust_canister @dfinity/governance-team
8687
/rust/vetkd/ @dfinity/crypto-team
8788
/rust/who_am_i/ @dfinity/ninja-devs
8889
/rust/x509/ @dfinity/crypto-team

0 commit comments

Comments
 (0)