[racket] Why does rackunit show the stack trace of check failures?
In my opinion, rackunit would benefit from someone going over the text-mode
output and generally cleaning things up. My two complaints are that there
is duplicate information and the source locations are not formatted in a
helpful way.
Robby
On Tue, Oct 8, 2013 at 10:41 PM, Eric Dobson <eric.n.dobson at gmail.com>wrote:
> I'm trying to clean up the output of some test cases so they are
> easier to debug when the go wrong. One of the issues is that the
> rackunit text ui always wants to print the stack trace of check
> failures. I never find these useful since they just show frames of the
> test code, not the code under test.
>
> The code is here:
>
> https://github.com/plt/racket/blob/master/pkgs/rackunit-pkgs/rackunit-lib/rackunit/text-ui.rkt#L105
> Added here:
>
> https://github.com/plt/racket/commit/f6b73f01e174337534ed11e7ff78d095f16d6088
>
> It is guarded by a (when #t ...), could we change it so that is
> instead a (when verbose? ...)? verbose? is already affecting other
> parts of the output in this function.
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131009/6138510f/attachment.html>