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 <lvil...@gmail.com> 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 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 > guessing I must be missing something really basic here because I can't even > get it to work textually. I type (run-tests), (test), (display-results), > pretty much anything I can think of at the repl, and I get nothing. It's as > if all my output is going to some hidden buffer somewhere. It works fine > (sans the require) using HTDP languages, so I don't think it's a problem > with my install. > I tried poking around in the source to see what's going on, but I couldn't > figure out anything quickly. It looks like htdp langs are initializing some > test-engine namespace variable in their module definition, but I have no > idea what that would mean for getting it to work in regular old racket. > Thanks, > Luke > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users