[arquillian-issues] [JBoss JIRA] (ARQGRA-213) print contextpath and option to sleep after starting the @Deployment

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Jan 7 10:59:08 EST 2013


    [ https://issues.jboss.org/browse/ARQGRA-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743840#comment-12743840 ] 

Lukáš Fryč commented on ARQGRA-213:
-----------------------------------

Mark, for printing context-path, you can use either

* {{@Before}} execution printing {{contextPath}}
* Arquillian mini-extension to achieve that

In order to pause execution, I would use debug point on the start of the test.
                
> print contextpath and option to sleep after starting the @Deployment
> --------------------------------------------------------------------
>
>                 Key: ARQGRA-213
>                 URL: https://issues.jboss.org/browse/ARQGRA-213
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>            Reporter: Mark Struberg
>            Assignee: Lukáš Fryč
>             Fix For: 2.0.0.Alpha3
>
>
> Most graphene unit test have a @Deployment section and something similar to the following:
> {code}
>     @ArquillianResource
>     private URL contextPath;
> {code}
> When debugging the Server for finding the bug in the webapp it's often needed to manually click through the application and invoke requests directly. But to do that you need the contextpath! It would be nice if Arquillian Graphene would log this information.
> Another highly useful feature would be to stop the test after a @Deployment via a -D java option. Currently I need to add a Thread.sleep(600000L) to my test manually if I like to test the server. If I don't do that Selenium aborts the test with a failure after 30s if I'm debugging the server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list