How to get full stack traces logged when a JUnit test running in ant fails?

Posted by Uri on Stack Overflow See other posts from Stack Overflow or by Uri
Published on 2010-03-19T18:57:18Z Indexed on 2010/03/19 19:01 UTC
Read the original article Hit count: 177

Filed under:
|

When a JUnit test throws a runtime exception while running in Eclipse, you can see the entire stack trace.

Our build server uses ant and runs JUnit, but the printout on failure only provides the exception's message, not the entire "printStackTrace". Is there a convenient way to get this functionality?

© Stack Overflow or respective owner

Related posts about junit

Related posts about ant