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

Add end-to-end tests in standalone .inferno files #80

Merged
merged 4 commits into from
Sep 13, 2023

Conversation

siddharth-krishna
Copy link
Collaborator

@siddharth-krishna siddharth-krishna commented Sep 12, 2023

This PR uses https://hackage.haskell.org/package/HTF-0.15.0.0 to implement end-to-end tests for inferno. This way we can have .inferno files containing inferno programs with assert statements to test things, and will hopefully help new users and documentation/learning material generation. (@smurphy8 hope this is what you were thinking of?)

@ngua I've made it look for the path to the inferno exe in the env var INFERNO_EXE. Could you help modify the nix build magic to set the var accordingly? Thanks

@siddharth-krishna siddharth-krishna merged commit 3371d9d into main Sep 13, 2023
1 check passed
@siddharth-krishna siddharth-krishna deleted the sidk-black-box-tests branch September 13, 2023 10:06
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.

2 participants