[racket] Racket unit testing, was Re: date format conversion

From: Stefan Schmiedl (s at xss.de)
Date: Sun Feb 13 04:20:48 EST 2011

On Sat, 12 Feb 2011 21:40:48 -0500
Neil Van Dyke <neil at neilvandyke.org> wrote:

> prad wrote at 02/12/2011 08:54 PM:
> > my son helped me understand what it was doing after we looked check-expect up.  so this runs a function for you and checks to see that the result is really what you say it is going to be!
> >
> > that's pretty useful, so a second thx!
> >   
> 
> This use of "check-expect" is what's known as *unit testing*, and is a 
> very popular practice for good software development nowadays.

Are there specific reasons or situations when using

	(require test-engine/racket-tests)

is "superior" to using the test framework provided in

	(require rackunit) ?

Curious,
s.


Posted on the users mailing list.