Hi Joerg,

On Mon, Jan 13, 2014 at 2:44 PM, Jörg Hoh <[email protected]> wrote:
> ...Taking [0] as example I feel a bit strange about the getJunitServletUrl()
> method of the SlingRemoteTestParameters interface. It expects me to return
> a URL where the serverside tests reside..
> ...I would prefer if I could inject this parameter via maven, as I already
> have a number of profiles available to separate these settings...

The only real requirement for SlingRemoteTestRunner is that your test
implements SlingRemoteTestParameters, so you can very well supply the
base URL of the server under test via system properties or another
environment mechanism, won't that work for you?

> ...In the end I would prefer to have a maven plugin where I can specify these
> settings and which then connects to the server and fetches the results....

Not sure if you need a specific plugin for that, my intention when
writing SlingRemoteTestRunner is that everything runs with the
standard Maven surefire or failsafe plugins, and you get results that
are as similar as possible to tests that run locally. If you have use
cases that aren't covered by that I'm happy to discuss them, but as is
I think you can specify the server URL via these plugins' system
properties options.

-Bertrand

Reply via email to