[CM] scheme unit testing framework?

Christos Vagias chris.actondev at gmail.com
Tue Jul 20 00:16:39 PDT 2021


Hi Gregg,

Check stuff.scm in s7's repo, there's an example assert or test macro if I
recall correctly.
It's fairly easy to expand with this. I have some setup in my environment,
could send some snippets later tonight (CET time here)

On Tue, Jul 20, 2021, 4:02 AM Iain Duncan <iainduncanlists at gmail.com> wrote:

> Hi Gregg, I know there exists one for Racket (RackUnit), which might not
> be hard to adapt.
>
> However, it is honestly probably just as easy to roll your own. S7's
> support for environments makes it very easy to set up the context for a
> call and assert. Check out with-let and let-ref in the s7.html page, and
> the stuff on environments as an optional 3rd arg to eval.
>
> hth
> iain
>
> On Mon, Jul 19, 2021 at 6:37 PM Gregg Reynolds <dev at mobileink.com> wrote:
>
>> Any recommendations for a unit testing framework that works with s7?  I'm
>> rapidly getting to the point where testing at the REPL is inadequate.
>>
>> Thanks,
>>
>> Gregg
>> _______________________________________________
>> Cmdist mailing list
>> Cmdist at ccrma.stanford.edu
>> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>>
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20210720/32dfb3f1/attachment-0001.html>


More information about the Cmdist mailing list