
Arquillian DSGs idea
By: a guest on
Apr 19th, 2011 | syntax:
Java | size: 0.75 KB | views:
107 | expires: Never
@MavenDeployments(@MavenDeployment(value = "org.jboss.weld.examples.jsf:weld-jsf-login:war:1.1.1.Final",
settings = "src/test/resources/settings.xml", priority=@Priority("${arq.maven.deployment.priority}", produces=@Produces("foo"))))
@RunWith(Arquillian.class)
public class WarDeploymentTestCase
{
/**
* Creates a WAR of a Weld based application using ShrinkWrap
*
* @return WebArchive to be tested
*/
@Deployment
@Priority("${arq.microdeployment.pririty}")
@ProducesDeployment("foo")
public static WebArchive createDeployment()
{
//throw new AssertionError("Should be using different Deployment Scenario");
}
@Test
public void archiveWasDeployed()
{
...
}
}