Deliverable 2 of #49. A property-test corpus: for every valid .twasm source, verify(codegen(parse(src))) returns OK. This is the codegen regression net.
Scope
- Extend
tests/echidna/echidna-harness.mjs (and/or tests/property/property_test.mjs) to drive parse → codegen → verify over the example corpus plus generated variants.
- Wire into CI so a codegen regression turns the corpus red.
- Differential fixtures (producer-emitted bytes) land in
crates/typed-wasm-verify/tests/fixtures/c5_real/, exercised by cargo test -p typed-wasm-verify.
Acceptance
- The property holds across all six examples (and generated cases) in CI.
- A deliberately-broken codegen makes the corpus fail (negative control).
Dependencies
- Blocked by D1 (codegen across examples); ideally also D7 for the multi-module cases.
Deliverable: Phase 1 / deliverable 2 (docs/PRODUCTION-PATH.adoc §Phase 1). Part of #49.
Deliverable 2 of #49. A property-test corpus: for every valid
.twasmsource,verify(codegen(parse(src)))returns OK. This is the codegen regression net.Scope
tests/echidna/echidna-harness.mjs(and/ortests/property/property_test.mjs) to drive parse → codegen → verify over the example corpus plus generated variants.crates/typed-wasm-verify/tests/fixtures/c5_real/, exercised bycargo test -p typed-wasm-verify.Acceptance
Dependencies
Deliverable: Phase 1 / deliverable 2 (
docs/PRODUCTION-PATH.adoc§Phase 1). Part of #49.