[racket-dev] [racket] Disable/Enable Tests
> It would be a whole lot nicer to insert> (disable-tests)> and> (enable-tests)> in the code, or perhaps to wrap a bunch of lines of code in> (with-tests-disabled ...)> or> (with-tests-enabled ...)
The Tracer does essentially this in reverse: by default you use the
Tracer language and "nothing happens" (ie, code runs and produces
answers but there's no visible tracing), but you can turn on tracing
with:
1.1 (trace-failed-checks)
Adding (trace-failed-checks) will trace only failing checks, including
failed instances of check-expect, check-within, check-error,
check-member-of, and check-range.
1.2 (trace-all)
Adding (trace-all) will trace all top level expressions and failed checks.
1.3 (trace-explicit)
Adding (trace-explicit) will trace failing checks and any expression
wrapped in (trace ...).
Shriram