I'm using the geb 0.9.2 plugin for grails 2.3.4
I want to run the functional tests separately from the service, on two separate hosts.
I have observed the following:
If I run the service on the same host, and execute:
grails test-app functional: -baseUrl=
http://localhost:8080/foo/
--non-interactive
then the tests are run against this already running service and pass.
If the service is not running, and I execute that same command, then a new service instance is started inside grails test-app
and the tests are run against that.
(This is unexpected to me)
If the service is running on a different host, at say
and I run:http://other:16060/foo/
grails test-app functional: -baseUrl=
http://other:16060/foo/
--non-interactive
... then a local service is started and the tests are run against that rather than against the specified remote service. Again this is unexpected to me.
I can't find any documentation explaining this behaviour.
Is it possible to run test-app
against a remotely running service?
(my recollection although I have not tested it recently is this behaviour was also the case with grails 2.2.2)