EUnit 2.0 alpha testers wanted

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Wed Apr 19 15:19:24 CEST 2006


> From: owner-erlang-questions@REDACTED 
> [mailto:owner-erlang-questions@REDACTED] On Behalf Of 
> Richard Carlsson
> 
> 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.
> 
> 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.

Yes, that's basically what I meant, io output is what I use today. 

In the bigger picture, it's not io output that's most interesting, but any
Erlang term. Rendering the term is then left to the corresponding frontend.

Regards,
Vlad



More information about the erlang-questions mailing list