Skip to content

PiotrNowicki/arquillian-extension-multiple-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

----- Arquillian extension for multiple deployments for different containers -----

This extension allows to define multiple @Deployment methods for different type of containers. 
Basing on the container adapter actually used, the appropriate @Deployment method will be chosen.

It allows to prepare different fine-grained deployments i.e. for GlassFish 3.1 and JBoss AS7 directly in 
the test case and execute the test upon them. If you use Maven profiles to choose the target container, 
the same container-specific deployment will be used.

If no @UseInContainer annotations are used, the default @Deployment will be chosen to operate on.

--- Example ---

@Deployment
@UseInContainer(TargetContainerName.GLASSFISH)
public static WebArchive createGlassFishDeployment() {}

@Deployment
@UseInContainer(TargetContainerName.JBOSSAS7)
public static WebArchive createJBossDeployment() {}

---------------------------------------------------------------------------------------------------

About

Arquillian extension which allows to define multiple @deployment methods for different containers. Basing on container adapter which is actually used in test, the extension will choose the appropriate @deployment method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages