[arquillian-issues] [JBoss JIRA] (ARQ-1758) Test passes although it fails unexpectedly

Robert Panzer (JIRA) issues at jboss.org
Fri Apr 11 10:28:13 EDT 2014


Robert Panzer created ARQ-1758:
----------------------------------

             Summary: Test passes although it fails unexpectedly
                 Key: ARQ-1758
                 URL: https://issues.jboss.org/browse/ARQ-1758
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Base Implementation
    Affects Versions: 1.1.4.Final
            Reporter: Robert Panzer


I have an erronous test class that cannot be loaded in the container due to a NoClassDefFoundError. (A dependent class is missing.)
The test passes unexpectedly and all test methods are reported to have passed although log entries or SystemOuts show that the methods are actually never invoked.

The problem seems to be a regression that came with the last release.
In JUnitTestRunner the TestResults exception is overwritten with null in such a case.
I will attach a screenshot of the debugger showing that.
I also have a try of a patch that I will link as soon as I prepared the pull request on github.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list