[arquillian-issues] [JBoss JIRA] Updated: (ARQ-236) Configure the Container lifecycle based on the Test events

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Wed Sep 1 10:19:12 EDT 2010


     [ https://jira.jboss.org/browse/ARQ-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler updated ARQ-236:
-------------------------------

    Summary: Configure the Container lifecycle based on the Test events  (was: Should be able to configure the Container lifecycle based on the Test events)


> Configure the Container lifecycle based on the Test events
> ----------------------------------------------------------
>
>                 Key: ARQ-236
>                 URL: https://jira.jboss.org/browse/ARQ-236
>             Project: Arquillian
>          Issue Type: Feature Request
>            Reporter: Aslak Knutsen
>
> A user should be able to customize how he wants the Container to be controlled.
> The default behavior is: 
> @BeforeSuite -> container.start() 
> @BeforeClass -> container.deploy() 
> @AfterClass -> container.undeploy() 
> @AfterSuite -> container.stop() 
> Other scenarios are: 
> - Restart server pr test class 
> @BeforeClass -> container.start() 
> @BeforeClass -> container.deploy() 
> @AfterClass -> container.undeploy() 
> @AfterClass -> container.stop() 
> - Redeploy pr test method 
> @BeforeSuite -> container.start() 
> @Before -> container.deploy() 
> @After -> container.undeploy() 
> @AfterSuite -> container.stop() 
> - Restart pr test method 
> @Before -> container.start() 
> @Before -> container.deploy() 
> @After -> container.undeploy() 
> @After -> container.stop() 
> This could be done by adding a Engine configuration option
> e.g.: 
> engine/containerLifeCycle PrSuite|PrClass|PrMethod
> this option would map to different ContextAppenders in the background that does the setup/ordering.

-- 
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