[arquillian-issues] [JBoss JIRA] Updated: (ARQ-568) Allow setting default container in arquillian.xml containing group definitions

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Mon Aug 29 10:33:27 EDT 2011


     [ https://issues.jboss.org/browse/ARQ-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Achmatowicz updated ARQ-568:
------------------------------------

    Description: 
The <container/> element has a default attribute. If default="true", then this container will be started if no arquillian.launcher container name is specified. 

The <group/> element is used to define a group of containers to be started. However, the group element has no "default" attribute (see http://www.jboss.org/schema/arquillian/arquillian-1.0.xsd). So, if we have a configuration involving a single container and as group of containers in the same arquillian.xml file, such as:
 
<arquillian>
  <container qualifier="X"/>
  <group qualifier="Y"/>
</arquillian>

then we cannot make Y the default.

We should be able to specify that a group configuration is the default to be started among a set of configurations, and so group should have a default attribute as well.


NOTE: when used within a <group/> the "default" attribute of container changes its meaning. According to AK: 

"default="true" on a /container means this is the default Configuration used if no arquillian.launch is specified. While for a Group it's the default container to use if no @TargetsContainer is used."


  was:
The <container/> element has a default attribute. If default="true", then this container will be started if no arquillian.launcher container name is specified. If default="false", then this container will not be started unless arquillian.launcher points to it.

The <group/> element is used to define a group of containers to be started. However, the group element has no "default" attribute (see http://www.jboss.org/schema/arquillian/arquillian-1.0.xsd). So, if we have a configuration involving a single container and as group of containers in the same arquillian.xml file, such as:
 
<arquillian>
  <container qualifier="X"/>
  <group qualifier="Y"/>
</arquillian>

then we cannot make Y the default.

We should be able to specify that a group configuration is the default to be started among a set of configurations, and so group should have a default attribute as well.


NOTE: when used within a <group/> the "default" attribute of container changes its meaning. According to AK: 

"default="true" on a /container means this is the default Configuration used if no arquillian.launch is specified. While for a Group it's the default container to use if no @TargetsContainer is used."




> Allow setting default container in arquillian.xml containing group definitions
> ------------------------------------------------------------------------------
>
>                 Key: ARQ-568
>                 URL: https://issues.jboss.org/browse/ARQ-568
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Richard Achmatowicz
>
> The <container/> element has a default attribute. If default="true", then this container will be started if no arquillian.launcher container name is specified. 
> The <group/> element is used to define a group of containers to be started. However, the group element has no "default" attribute (see http://www.jboss.org/schema/arquillian/arquillian-1.0.xsd). So, if we have a configuration involving a single container and as group of containers in the same arquillian.xml file, such as:
>  
> <arquillian>
>   <container qualifier="X"/>
>   <group qualifier="Y"/>
> </arquillian>
> then we cannot make Y the default.
> We should be able to specify that a group configuration is the default to be started among a set of configurations, and so group should have a default attribute as well.
> NOTE: when used within a <group/> the "default" attribute of container changes its meaning. According to AK: 
> "default="true" on a /container means this is the default Configuration used if no arquillian.launch is specified. While for a Group it's the default container to use if no @TargetsContainer is used."

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list