
Probably I don’t understand your question correctly. I thought you were suggesting that this: (check-exn exn:fail? (λ () 3))
doesn’t report the location of the test that fails (but it does).

I think @samdphillips meant something like:
(check-equal? (1) 1)

Like this the ERROR doesn’t contain a location: #lang racket/base
(require rackunit)
(test-true "fail" #f)
(test-true "error" (/ 10 0))
Running: $ racket foo.rkt
--------------------
fail
FAILURE
name: check-true
location: foo.rkt:5:0
params: '(#f)
--------------------
--------------------
error
ERROR
/: division by zero
--------------------

@samdphillips try racket -l errortrace -t foo.rkt

That is better. I think I may have to just have a custom runner/printer.

I do not understand this error. What does it mean?
namespace mismatch: bulk bindings not found in registry for module: #<resolved-module-path:"/home/sage/racket/share/pkgs/at-exp-lib/scribble/reader.rkt">
; Context:
; .../langs/doc.rkt:28:11 for-loop
; .../langs/doc.rkt:26:16
; [Due to errors, REPL is just racket/base]
The for-loop
runs eval
on expressions from a document read using the Scribble reader.

Interesting side-note: Blowing away compiled
directories removes the error. If I run raco setup
to recompile the bytecode, the error comes back. I’m unsure how to provide more context since I don’t know what a minimal reproduction would look like, but I can try to whip one up tomorrow. Any leads appreciated.