[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
12 years, 12 months
[JBoss JIRA] Created: (ARQ-50) research an alternative approach to inheriting from Arquillian base class in TestNG
by Dan Allen (JIRA)
research an alternative approach to inheriting from Arquillian base class in TestNG
-----------------------------------------------------------------------------------
Key: ARQ-50
URL: https://jira.jboss.org/jira/browse/ARQ-50
Project: Arquillian
Issue Type: Feature Request
Affects Versions: 1.0.0-alpha-1
Reporter: Dan Allen
Priority: Minor
This issue is a research and development task to determine if there is an alternative approach that can be used, rather than inheriting from the Arquillian base class, to hook a TestNG test into the Arquillian functionality. JUnit offers a @RunWith annotation which is what the JUnit module uses. The closest hook TestNG seems to offer is the ITestListener interface. However, the question becomes, how does that map to the requirements:
@BeforeSuite -> start container (~ ITestListener.onStart)
@BeforeClass -> deploy (??)
TestMethod/IHookable -> remote call (??)
@AfterClass -> undeploy -> (??)
@AfterSuite -> stop container -> (~ ITestListener.onFinish)
There was discussion on this thread about supporting @RunWith in TestNG: http://markmail.org/message/fxm6bddk6wzqa4yp
--
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
12 years, 12 months
[JBoss JIRA] Created: (ARQ-198) Install bundle from maven dependencies
by Thomas Diesler (JIRA)
Install bundle from maven dependencies
--------------------------------------
Key: ARQ-198
URL: https://jira.jboss.org/browse/ARQ-198
Project: Arquillian
Issue Type: Feature Request
Components: OSGi Containers
Reporter: Thomas Diesler
* Another interesting feature would be the installation of bundles that are declared as dependencies in the maven pom.xml. Let's say in the pom.xml you have the following dependency:
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
<version>${configadmin.version}</version>
</dependency>
then it would be great if you could install that bundle simply through some installBundle("org.apache.felix", "org.apache.felix.configadmin") API which would infer the version from the maven context. Both Pax Exam and Apache ServiceMix testing have this feature and it makes integration with the maven buildsystem really easy.
--
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