Commit 88cd4cb
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- .github
- rust/unit_testable_rust_canister
- src/hello_canister
- src
- types
- tests
16 files changed
+5592
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments