EUnit 2.0 alpha testers wanted
Richard Carlsson
richardc@REDACTED
Wed Apr 19 15:09:40 CEST 2006
Vlad Dumitrescu wrote:
> There is one feature that I'd like to see on the todo list (I use it in a
> homebrewn testing solution): capture output from tests and if the test
> failed print it out, otherwise remain silent. Of course, I don't mean "print
> to the console", but to the logging handler. The tricky part would be making
> it as simple to use as the rest.
> The reason for this is that if a test fails, I like to see the debug
> printouts to be able to pinpoint the problem. Rerunning the test with debug
> enabled takes away from the elegance, doesn't it?
I guess you mean "output from tests" as in "erlang io output produced
by the test code". That could easily be redirected to the logger, and
should be fixed right away. Silly me to not think about it before.
/Richard
More information about the erlang-questions
mailing list