[
https://issues.jboss.org/browse/ARQ-1758?page=com.atlassian.jira.plugin.s...
]
Daniel Latzer commented on ARQ-1758:
------------------------------------
I just wanted to create a bug report for what i think is the same issue as this: A test
that should clearly fail passes because of a failure to inject members. I managed to
isolate the problem in a quickstart project:
https://dl.dropboxusercontent.com/u/6070309/arq-pass-bug.tgz
GreeterEJB doesn't implement GreeterRemote, thus it's obviously not possible to
resolve the bean. If you fall back to Arquillian 1.1.3 an Exception is thrown, though with
1.1.4 the test just passes.
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
Attachments: debug.png
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 was sent by Atlassian JIRA
(v6.2.6#6264)