[racket] Online testing

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Wed Nov 28 12:04:16 EST 2012

On 2012-11-28 11:48:45 -0500, David Van Horn wrote:
> I'm sure this possible and probably not difficult, but I thought I'd
> throw it out there for feedback.

If you do something like this:

  #lang racket

  (module test racket
    (require rackunit)
    (check-equal? 5 2))

  (begin-for-syntax
    (require (submod "." test)))

then it will work with the "check syntax" button. Background expansion doesn't
print the rackunit output though, it seems. If it did, I think that's all you'd
need.

Also, this doesn't work if you use a `module*` or `module+`. Is that a bug?

Cheers,
Asumu

Posted on the users mailing list.