[racket] rackunit (success)

From: Noel Welsh (noelwelsh at gmail.com)
Date: Mon Jun 20 12:04:29 EDT 2011

You're correct, there is no success function in Rackunit. This will do:

(lambda () 'ok)

I.e. you don't need to signal success for a test to pass. People have
experimented with test frameworks where you have to signal success,
but it the general conclusion is that it's too much effort for the
small gain.

HTH,
N.

> But, the second check would be nicer as (success "not found"), but I
> don't see a "success" check. It is my first time using rackunit, so
> maybe I'm overlooking something.


Posted on the users mailing list.