[JBoss JIRA] Created: (ARQ-97) Load classes and resources from ShrinkWrap archive
by Dan Allen (JIRA)
Load classes and resources from ShrinkWrap archive
--------------------------------------------------
Key: ARQ-97
URL: https://jira.jboss.org/jira/browse/ARQ-97
Project: Arquillian
Issue Type: Bug
Components: Weld Containers
Affects Versions: 1.0.0.Alpha1
Reporter: Dan Allen
Fix For: 1.0.0.Alpha2
When the test, or libraries used by the test, attempt to load a class or resource from the classpath, that request should be diverted to look in the ShrinkWrap archive defined by the test. Currently, this classloading operation is looking in the classpath visible to the test runner. This causes two problems:
1. resources in the ShrinkWrap archive are not found
2. the classpath available to the test case is leaking (only resources in the ShrinkWrap archive should be visible)
The classpath needs to be constrained/protected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 8 months
[JBoss JIRA] Created: (ARQ-181) When using @Text expected exception, the internal state of the TestResult is unknown
by Aslak Knutsen (JIRA)
When using @Text expected exception, the internal state of the TestResult is unknown
------------------------------------------------------------------------------------
Key: ARQ-181
URL: https://jira.jboss.org/browse/ARQ-181
Project: Arquillian
Issue Type: Bug
Components: Test Harness Integration
Reporter: Aslak Knutsen
When using the ExpectedException feature in the TestFrameworks the internal TestResult object in Arquillian is in an unknown state. Arquillian catches the thrown exception, but the actual validation of it is done in the test framework after Arquillian is done with the test invocation. Arquillian can only know that a Exception has been thrown, but not if it is expected or not.
JUnit
@Test(expected=Exception.class)
TestNG
@Test(expectedException=Exception.class)
@ExpectedException(Exception.class)
Follow up with TestNG and JUnit to see how this can be done..
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 8 months