[racket-dev] Racktest was: OMG the thread that will never die about testing
On 02/20/2011 06:43 PM, Robby Findler wrote:
> One thing I would also like to be able to do, based on this
> discussion, is make a rackunit/base library that has very minimal
> dependencies and provides a minimal testing infrastructure. I'd be
> happy with something like check-equal? only at the top-level, ish.
>
> Is that something that your changes would affect?
You can already do that:
#lang racket
(require rackunit)
(test-equal? "fruit equivalence" 'apple 'orange)
(check-equal? 'apple 'orange)
(for ([fruit '(orange pear)])
(check-equal? fruit 'orange))
How minimal do you need the dependencies to be?
Ryan