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

Test: JSON Roundtrip #86

Open
d-xo opened this issue Jan 13, 2021 · 0 comments
Open

Test: JSON Roundtrip #86

d-xo opened this issue Jan 13, 2021 · 0 comments
Labels
tests Improvements to the test suite

Comments

@d-xo
Copy link
Collaborator

d-xo commented Jan 13, 2021

It would be cool to have some quickcheck tests that:

  1. Generate some behaviours
  2. Write those behaviours to JSON
  3. Parse the JSON into a behaviour
  4. Assert equality of the parse behaviour to the original

To do this we would need to implement FromJSON instances in RefinedAST, which adds some complexity, but it probably required anyway if we want to allow external tools to programatically generate act.

@d-xo d-xo added the tests Improvements to the test suite label Jan 13, 2021
@ethereum ethereum deleted a comment from staccDOTsol Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Improvements to the test suite
Projects
None yet
Development

No branches or pull requests

1 participant