Skip to content

Commit

Permalink
get rid of requirement to have canisters listed for fuzz testing, get…
Browse files Browse the repository at this point in the history
… them from the dfx.json only, update cuzz
  • Loading branch information
lastmjs committed Nov 25, 2024
1 parent 5b6c0ed commit c42db24
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
Binary file modified canister_templates/stable.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"crypto-browserify": "^3.12.0",
"cuzz": "github:demergent-labs/cuzz#e43d85edf09e84b03411980a8b11086cd1c55a14",
"cuzz": "github:demergent-labs/cuzz#45c03fd9d503783480ddc36e86679507be76b39b",
"deep-is": "^0.1.4",
"esbuild": "^0.23.0",
"esbuild-plugin-tsc": "^0.4.0",
Expand Down
5 changes: 1 addition & 4 deletions test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ export function runTests(
});
}

// TODO we should work on what the UI looks like if there are multiple of these things running
if (shouldFuzz && canisterNames !== undefined) {
// TODO right now we just test the first canister...that might be good enough for now?
// TODO because I feel that the first canister will generally call the other canisters
if (shouldFuzz === true) {
describe(`fuzz`, () => {
it('runs fuzz tests for all canisters', () => {
// execSyncPretty(`cuzz`, 'inherit');
Expand Down

0 comments on commit c42db24

Please sign in to comment.