plow-technologies / inferno

A statically-typed functional scripting language
MIT License
4 stars 1 forks source link

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

Closed siddharth-krishna closed 1 year ago

siddharth-krishna commented 1 year ago

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