Skip to content

More tests & other housekeeping - #71

Merged
pufferfish101007 merged 9 commits into
mainfrom
more-tests
Aug 10, 2026
Merged

More tests & other housekeeping#71
pufferfish101007 merged 9 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.

@pufferfish101007
pufferfish101007 marked this pull request as ready for review August 10, 2026 20:13
@pufferfish101007
pufferfish101007 merged commit 44170b6 into main Aug 10, 2026
9 of 11 checks passed
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