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 <[email protected]> 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 <[email protected]> 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 >> [email protected] >> https://cm-mail.stanford.edu/mailman/listinfo/cmdist >> > _______________________________________________ > Cmdist mailing list > [email protected] > https://cm-mail.stanford.edu/mailman/listinfo/cmdist >
_______________________________________________ Cmdist mailing list [email protected] https://cm-mail.stanford.edu/mailman/listinfo/cmdist
