This content has been marked as final.
Show 2 replies
-
1. Re: Deploy two archives with same name
aslak Jun 20, 2013 11:42 AM (in response to pmensik)A common way of doing this is to have the @Test's defined in a abstract super class, then define the @Deployments in the sub class.
@RunWith(Arquillian.class) public abstract AbstractTestBase { @Test public void x() {} } public class NoBeansXMLTestCase extends AbstractTestBase { @Deployment public static WebArchive() { ... } } public class WithBeansXMLTestCase extends AbstractTestBase { @Deployment public static WebArchive() { ... } }
-
2. Re: Deploy two archives with same name
pmensik Jun 21, 2013 6:20 AM (in response to aslak)Thanks Aslak, that worked:)