Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share tests between js/wasm and native backends #13537

Open
2 of 7 tasks
dannywillems opened this issue Jul 6, 2023 · 0 comments
Open
2 of 7 tasks

Share tests between js/wasm and native backends #13537

dannywillems opened this issue Jul 6, 2023 · 0 comments
Assignees

Comments

@dannywillems
Copy link
Member

dannywillems commented Jul 6, 2023

Discussed with Matthew on Slack.
Alcotest can be compiled with jsoo (also ppx_inline_tests I think). A wrapper for node can be used to execute the js tests, and a stanza runtest-js could be used to run the JS tests.

Previous works: https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381/-/blob/master/test/node_wrapper.ml and https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381/-/blob/master/test/dune#L9.

Related PR:

@dannywillems dannywillems changed the title Share tests between js/wasm and native backend for snarkyjs Share tests between js/wasm and native backends Jul 6, 2023
@dannywillems dannywillems self-assigned this Jul 6, 2023
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

No branches or pull requests

1 participant