Unit testing and roadmap

327 views
Skip to first unread message

FellowSchemer

unread,
Jun 7, 2016, 1:24:22 PM6/7/16
to chez-scheme
Hi,

I've just realized that Chez has become open source. That's awesome! The fact that it was commercial and that the pricing was not publicly available kept me from using it in the past, but now I'm planning of using Chez Scheme for some larger project.

Two questions:

1.) Is there a built-in unit testing framework, or if not, which one would you recommend?

2.) What's the roadmap for Chez? Will it remain R6RS or is R7RS support planned at some time?

Best,

Eric

Andy Keep

unread,
Jun 13, 2016, 10:11:23 AM6/13/16
to chez-scheme, FellowSchemer
On June 7, 2016 at 1:24:22 PM, FellowSchemer (jo...@peppermind.com) wrote:
Hi,

I've just realized that Chez has become open source. That's awesome! The fact that it was commercial and that the pricing was not publicly available kept me from using it in the past, but now I'm planning of using Chez Scheme for some larger project.

Two questions:

1.) Is there a built-in unit testing framework, or if not, which one would you recommend?

Chez Scheme has a unit testing tool it uses for its own testing (see mat.ss in the mats directory and the *.ms files for examples), but it has some compiler-specific testing features built into it.  For instance, we have some tools for testing compilation separate from he current scheme session and checking that the expander and optimizer provide expected code, so you might find that for general testing you want a slightly different set of features.

I had both rolled my own in the nanopass framework and started writing my own in support of the nanopass framework.  I started the latter because I wasn't happy with the former, but I've not made much progress on the latter since I started it.

There are two SRFI's (64 and 78) that provide some tools for testing as well, though I've not used them.

2.) What's the roadmap for Chez? Will it remain R6RS or is R7RS support planned at some time?

This is a good question.  I don't know that we really have thought too much about a roadmap, at least not collectively.  I suspect for the near term Chez will remain R6RS, though I think it would be interesting to start to explore R7RS support in a hybrid R6RS/R7RS version (perhaps with an approach similar to Sagittarius Scheme).

-andy:)



Best,

Eric
--
You received this message because you are subscribed to the Google Groups "chez-scheme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chez-scheme...@googlegroups.com.
To post to this group, send email to chez-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chez-scheme/170c8a14-850e-4177-bbea-fcc7c67bbc01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eduardo Cavazos

unread,
Jun 13, 2016, 3:05:00 PM6/13/16
to chez-scheme
The SRFI-64 unit testing library is used by the MPL algebra library:

https://github.com/dharmatech/mpl/blob/master/test.sls#L9

That version of SRFI-64 is part of this collection:


Ed
Reply all
Reply to author
Forward
0 new messages