logo       

how to show a longer stack trace on the report: msg#00200

java.junit.user

Subject: how to show a longer stack trace on the report

I use a junit ant task to test an EJB (on JBoss), i set my test method
to throws Excpetion, so it appears on the report. But it show just the
first level on the stack trace :



java.lang.NullPointerException
at
br.com.sicredi.cobranca.tests.CobrancaFacadeEJBTest.testInsercao(CobrancaFacadeEJBTest.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

how do I set it to show a lower level of the stacktrace, or to to show
in the junit console?????





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise