[JBoss JIRA] Created: (ARQ-287) Add support for filtering tests based on required execution environment
by Dan Allen (JIRA)
Add support for filtering tests based on required execution environment
-----------------------------------------------------------------------
Key: ARQ-287
URL: https://jira.jboss.org/browse/ARQ-287
Project: Arquillian
Issue Type: Feature Request
Components: Configuration
Affects Versions: 1.0.0.Alpha4
Reporter: Dan Allen
Assignee: Dan Allen
Fix For: 1.0.0.Beta1
Allow the developer to declaratively specify the execution environment required for a given test to function. Then, Arquillian should filter out tests that require an execution environment that the target container doesn't provide. (In other words, only execute a test case if the target container provides the execution environment the test requires).
To support this feature, we need to introduce the concept of an execution environment definition into the API and a mechanism for indicating which containers provide a given execution environment. The developer experience will be something like:
@RunWith(Arquillian.class)
@RequiresJavaEE6
public class MyTestCase { ... }
or
@RunWith(Arquillian.class)
@RequiresEnvironment(JavaEE6Container.class)
public class MyTestCase { ... }
Formal proposals and prototypes will be submitted as branches in github.
--
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
13 years
[JBoss JIRA] Created: (ARQ-425) config parser code not in sync with schema
by Thomas Diesler (JIRA)
config parser code not in sync with schema
------------------------------------------
Key: ARQ-425
URL: https://issues.jboss.org/browse/ARQ-425
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.0.0.Alpha5
Reporter: Thomas Diesler
The schema suggest
<container qualifier="osgi" default="true">
<protocol type="jmx-osgi">
<property name="host">localhost</property>
<property name="port">1090</property>
<property name="urlPath">jmxrmi</property>
</protocol>
</container>
the parser however wants
<container qualifier="osgi" default="true">
<protocol type="jmx-osgi">
<configuration>
<property name="host">localhost</property>
<property name="port">1090</property>
<property name="urlPath">jmxrmi</property>
</configuration>
</protocol>
</container>
Note, the extra configuration element. Please add a test that validates various config files against the schema and parsed values
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] Created: (ARQ-404) Better reporting when Arquillian fails to initialise
by Stuart Douglas (JIRA)
Better reporting when Arquillian fails to initialise
-----------------------------------------------------
Key: ARQ-404
URL: https://issues.jboss.org/browse/ARQ-404
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Stuart Douglas
At the moment when Arquillian fails to startup you get the following message:
java.lang.RuntimeException: Arquillian has previously been attempted initialized, but failed. See previous exceptions for cause.
It would be good if this could also tell you the test that it failed on, so you know where to look for the exception.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] Created: (ARQ-422) Rename static field Arquillian.caughtTestException so it doesn't show in auto-complete
by Dan Allen (JIRA)
Rename static field Arquillian.caughtTestException so it doesn't show in auto-complete
--------------------------------------------------------------------------------------
Key: ARQ-422
URL: https://issues.jboss.org/browse/ARQ-422
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Base Implementation
Affects Versions: 1.0.0.Alpha5
Reporter: Dan Allen
Priority: Minor
When adding Arquillian support to a test class, the caughtTestException gets in the way of auto-complete. For instance, when you type:
@RunWith(Arquillian.c
Then press <Ctrl>+Space you get
.caughtTestException
.class
On more than one occasion, I've accidentally selected .caughtTestException. This field should either be renamed to CAUGHT_TEST_EXCEPTION, queuedTestException or moved to another class (the best solution).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years