cbeust/testng — Issue #179: Log the stack trace on test class initialization errors to the console
Author: kyrill007
Created: 2012-02-24 02:57:31+00:00
State: open

Cedric,

We have situation where a test fails to initialize with the following errror:
[testng] [TestNG] [ERROR]
[testng] Cannot instantiate class iMyClass

The problem is that we're using a third-party library that kills the JVM when this error occurs (yeah, I know) . So, no test reports are generated and it is wicked difficult to debug. Would it be possible to somehow log the stack trace to the console right away? This would be such a great help.

Thank a lot!

-Kyrill