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.
PiotrNowicki/arquillian-extension-multiple-deployment
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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 0
No packages published