Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6.4, 1.7.0
-
None
-
None
Description
The realRunTestNgTest() method of class org.codehaus.groovy.vmplugin.v5.TestNgUtils contains this code:
} catch (ClassNotFoundException e) { throw new GroovyRuntimeException("Error running TestNG test."); }
This is very unhelpful because it hides the original exception e. It should be passed as root cause to the GroovyRuntimeException constructor.