Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use test suites so raco test shows something.
- Loading branch information
Greg Hendershott
committed
Aug 31, 2012
1 parent
012c4aa
commit 855ac75
Showing
11 changed files
with
598 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#lang racket | ||
|
||
(require rackunit | ||
rackunit/text-ui | ||
"tests/data.rkt") | ||
|
||
(define-syntax-rule (define/run-test-suite name body0 body ...) | ||
(begin | ||
(printf "~a ... " name) | ||
(flush-output) | ||
(void (run-tests (test-suite name body0 body ...) 'normal)))) | ||
|
||
(provide (all-from-out rackunit) | ||
(all-from-out rackunit/text-ui) | ||
(all-from-out "tests/data.rkt") | ||
define/run-test-suite) |
Oops, something went wrong.