Well, it does kinda work in the REPL. If you use check-expect in the REPL,
then use (test), it will display the results for running the check forms
declared _in_ the REPL, just not the ones in the source. It just seems to
start with a clean slate.
On Sun, Sep 18, 2011 at 9:29 PM, Stephen Bloch wr
On Sep 18, 2011, at 9:22 PM, Luke Vilnis wrote:
Thanks guys, that works! Still, it's pretty confusing that running
(test) from the repl does not work, only inserting it at the end of
the file. It would be nice to mention that in the docs, something
like:
"Note that the check forms only r
Thanks guys, that works! Still, it's pretty confusing that running
(test)from the repl does not work, only inserting it at the end of the
file. It
would be nice to mention that in the docs, something like:
"Note that the check forms only register checks to be performed. The checks
are actually run
On Sep 18, 2011, at 8:21 PM, Luke Vilnis wrote:
I was wondering how to get test-engine working with #lang, or non-
student languages in general. I tried something like this:
#lang racket
(require test-engine/racket-tests)
(check-expect 12 (+ 6 7)) ;;sic
But no luck. I also tried it with (req
Try putting (test) at the very bottom of the file in which you have
your check-expect's.
On Sun, Sep 18, 2011 at 8:21 PM, Luke Vilnis wrote:
> Hi everybody,
> I was wondering how to get test-engine working with #lang, or non-student
> languages in general. I tried something like this:
> #lang rac
Hi everybody,
I was wondering how to get test-engine working with #lang, or non-student
languages in general. I tried something like this:
#lang racket
(require test-engine/racket-tests)
(check-expect 12 (+ 6 7)) ;;sic
But no luck. I also tried it with (require test-engine/racket-gui), but I'm
gu
6 matches
Mail list logo