Show user info when tests fail due to bad compilation state
Issue #404
resolved
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)
-
reporter -
reporter - changed version to 1.7.8.6
-
reporter This will be fixed in the next build.
-
reporter - changed status to resolved
Delivered in 1.7.8.6.
-
reporter - changed component to Apex Unit Testing
- Log in to comment
Issue
#559was marked as a duplicate of this issue.