[racket] Price of RackUnit

From: Patrick King (slowthought at gmail.com)
Date: Wed Jul 6 19:40:42 EDT 2011

I find myself doing stuff like...

#lang racket
(require rackunit)
(provide my-function ...)

; My code

(define (my-function ...) ...) ...

; My tests ...

(check* ...) ... ; * in the wildcard sense

... so that I never evade testing my code. Does another developer end up
testing my code? A user?
In other words, if I don't export the test code via *require*, what gets
executed by importers? of source? of executables?
IMHO, even if the answer is "all of it", it's worth it, but the answer may
affect how tests are written.

Pat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110706/6962beb9/attachment.html>

Posted on the users mailing list.