[
https://issues.jboss.org/browse/FURNACE-43?page=com.atlassian.jira.plugin...
]
Lincoln Baxter III commented on FURNACE-43:
-------------------------------------------
Actually, "automatic=true" could be deduced by the absence of any subsequent
@AddonDependency annotations. In the case where the developer really wants an empty test
deployment, @AddonDependencies(automatic=false") could be set.
Support @AddonDependencies(automatic=true) to remove the need for
manual specification of Addon dependencies
------------------------------------------------------------------------------------------------------------
Key: FURNACE-43
URL:
https://issues.jboss.org/browse/FURNACE-43
Project: Forge: Furnace
Issue Type: Feature Request
Components: Test Harness
Affects Versions: 2.16.0.Final
Reporter: Lincoln Baxter III
The following @AddonDependencies annotation would signal to the test harness that all
Addons from the current maven module should be imported to the test case deployment:
{code}
@Deployment
@AddonDependencies(automatic=true)
public static AddonArchive getDeployment()
{
final AddonArchive archive = ShrinkWrap.create(AddonArchive.class)
.addBeansXML());
return archive;
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)