Skip to content

More tests & other housekeeping - #71

Draft
pufferfish101007 wants to merge 7 commits into
mainfrom
more-tests
Draft

More tests & other housekeeping#71
pufferfish101007 wants to merge 7 commits into
mainfrom
more-tests

Conversation

@pufferfish101007

@pufferfish101007 pufferfish101007 commented Aug 10, 2026

Copy link
Copy Markdown
Member

wip.

  • instructions_test! restyled & restructured - easier to read/write and allow project setup
  • tests for more instructions (hopefully all, other than ones expected to be present only in special steps)
  • test that Display implementations produce valid json (this has caused annoyance before)

and also

  • bump rust nightly version

This gets test coverage up from ~40% to ~50% (according to cargo-llvm-cov) which isn't bad considering that most of src/wasm, src/ir and src/optimisation isn't tested at all.

Still to do: test const folding somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant