[arquillian-issues] [JBoss JIRA] Commented: (ARQ-195) Expose a Deployer API to the TestCase

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Sun Jul 11 07:14:46 EDT 2010


    [ https://jira.jboss.org/browse/ARQ-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12538697#action_12538697 ] 

Aslak Knutsen commented on ARQ-195:
-----------------------------------

We need to make a Enricher that can inject a wrapped version of the DeployableContainer in a Deployer API. Everything needed is in the current Context etc, but we need to define a Deployer API(DeployableContainer.deploy/undeploy without the Context).

This is easy to create for RunMode AS_CLIENT since we're always on the Client side of things and that's where we're already doing a Deployment, but a bit trickier in IN_CONTAINER. When IN_CONTAINER the testcase is running inside the Container under a different ContainerProfile (CONTAINER) which does not have a DeployableContainer defined(we're all ready there so). For this to work the Container needs to know how to deploy to itself from the inside and needs to package up the classes needed etc.. 

This might prove to be difficult to do in some of the Embedded Containers (OpenEJB / Weld) where the whole Container is one deployment.

> Expose a Deployer API to the TestCase
> -------------------------------------
>
>                 Key: ARQ-195
>                 URL: https://jira.jboss.org/browse/ARQ-195
>             Project: Arquillian
>          Issue Type: Feature Request
>          Components: Runtime Enricher SPI
>            Reporter: Aslak Knutsen
>
> The TestCase should be able to deploy other deployments as part of it's lifecycle. 
> E.g. 
> - Test the effects of a Deployer
> - Test lifecycles of Bundles
> The API needs to be extendable. some Containers might support start/stop of a deployment as well as deploy/undeploy.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list