[arquillian-issues] [JBoss JIRA] (ARQGRA-425) Allow @Location with relative URL when there is no deployment

Lukáš Fryč (JIRA) issues at jboss.org
Fri Mar 14 04:40:11 EDT 2014


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

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

This is duplicate of ARQGRA-374.
                
> Allow @Location with relative URL when there is no deployment
> -------------------------------------------------------------
>
>                 Key: ARQGRA-425
>                 URL: https://issues.jboss.org/browse/ARQGRA-425
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>          Components: core
>    Affects Versions: 2.0.1.Final
>            Reporter: Juraj Húska
>            Assignee: Stefan Miklosovic
>             Fix For: 2.1-Tracking
>
>
> There are some use cases when there is no {{@Deployment}} method, and we still need to treat {{URL}} in {{@Location}} as relative.
> E.g. we are testing an application already deployed somewhere, but still the context root of the application can change, and we do not want to hardcode it.
> As [~kpiwko] suggested, we can support his in Graphene like this:
> # wrap {{org.jboss.arquillian.container.test.impl.enricher.resource.URLResourceProvider}}
> # make it returns some default value of {{contextRoot}} if the {{contextRoot}} is null
> # make that value configurable via Graphene configuration

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