You can clone with
HTTPS or Subversion.
Thanks for your work on this promising plugin. I tried it but failed.
I hope you can help give an answer to:
The other thing that I notice. I couldn't pass the option:
I use the -Dgeb.env=chrome to use Chrome as driver.
This is the command: "grails develop-functional-tests -Dfile.encoding=UTF-8 -Xms256m -Xmx1024m -XX:MaxPermSize=256m -Dgeb.env=chrome".
And it seems the plugin still using the default driver instead.
You have to specify the options to the test run, not the initial invocation.
wait for bootstrapping
Then at command prompt:
-Dfile.encoding=UTF-8 -Xms256m -Xmx1024m -XX:MaxPermSize=256m -Dgeb.env=chrome
This sets the properties on the test run, which is what you want.
thanks. I'll try it.
I found the issue.
I guess the Chrome driver is not working. So, it's not opening chrome web browser.
If I use Firefox driver " -Dgeb.env=firefox" it's fine.
But the next problem is that it could not open the URL (status: 404). and all my test failed.
If I don't use your plugin and directly run "grails test-app -functional", the firefox can open the URL and run my next test script.
Any idea what could be the possible culprit?
If the urls are the same, the application may have failed to start up.
Are the urls it's trying to access the same?
yes. it refers to ''localhost:8080". so for test, I need to change the port to something else? I'll try this. thanks
It works just by keying in "-Dserver.port=8081 all".
Other minor thing is that I couldn't increase the maxPermSize from console. So, I ended up adding
javaOpts << "-Xmx1024m" << "-Xms256m" << "-XX:MaxPermSize=256m"
to method "createGrailsProcessBuilder".
Sorry for late response back. I was push to other project last week. Just have time to try this plugin again today.
and thanks for this useful tools.