Show user info when tests fail due to bad compilation state

Issue #404 resolved
Scott Wells repo owner created an issue

When unit test execution fails due to bad compilation state, e.g.:

2016-09-15 10:37:35,284 [  69948]   WARN - ner.GeneralTestEventsProcessor - [Apex]: Trying to finish not existent node: TestFailedEvent{name='<unknown>', id='5', localizedFailureMessage='line XX, column YY: Dependent class is invalid and needs recompilation:
<className>: line AA, column BB: Dependent class is invalid and needs recompilation:
<dependentClassName>: line MM, column NN: <errorMessage>', stacktrace='null', isTestError=false} 

it fails with a less-than-useful "Terminated" state. The information above should be included in the test output, ideally associated with the original test class/method if possible.

Comments (5)

  1. Log in to comment