lisp icon indicating copy to clipboard operation
lisp copied to clipboard

Add unit testing for Lust programs

Open 0xekez opened this issue 3 years ago • 1 comments

At the moment there is no way to test that errors are being displayed properly because they print to stdout and don't leave much of a trace. As time goes on and there is more need for this sort of thing we should consider adding some sort of btest like unit test framework so that we can compare the output of lust programs to a baseline.

0xekez avatar Oct 07 '20 07:10 0xekez

In tests/main.lisp there is some work on this. Once there is better IO support it would be nice to move towards something more like Zeek's btest.

0xekez avatar Dec 16 '20 06:12 0xekez