I have a class which is loaded by my TestCase. That class does some static 
initialization. In the process of moving my Ant-based project to Maven, some 
<resources> weren't set properly which caused that static initialization to 
fail. Unfortunately, m2 eats that exception and just shows zero tests as having 
run:

Results :
[surefire] Tests run: 0, Failures: 0, Errors: 0

Enabling -X and -e doesn't help and nothing is written in 
target/surefire-reports. This problem is easy to reproduce: just throw an 
unchecked exception from within the static block of a class which extends 
TestCase.

Am I correct in hoping that m2 will give me the offending stack trace?

Thanks!
--Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to