February 23, 2006

ANN: New Beta of SchemeUnit

Posted in Lisp, Programming, Scheme at 11:18 am by pmatos

SchemeUnit, the scheme unit test package developed by Noel Welsh arrives to a new beta.

Thanks Noel.

Another beta. Same place:


Install using

planet -f schemeunit.plt schematics 2 0

Remove previous betas using

planet -r schematics schemeunit.plt 2 0

What’s new? A conversion script from 1.x to 2.0 (in
plt/convert.ss) Nothing else you’re likely to notice unless
you hack on SchemeUnit.

There are three items left on my TODO list. I’d appreciate
feedback from interested parties.

1. Make define-assertion also define the shortcut test-X
form. A good idea, but at the moment I lack the energy to
fight with syntax-case. (Note that the shortcut name is
irregular in, for example assert-equal? => test-equal? but
assert => test-assert)

2. Change the pompous name assert to the more friendly
check. Requires lots of code changes.

3. Use the contract language to define checks on values.
This is a very good idea. However 1) it requires lots of
reworking of SchemeUnit, 2) it requires deep understanding
of how the contract system works, and 3) possibly makes
portability difficult.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: