Hmm. Okay. You could try a test.doFirst { } and a test.doLast { } to
setup and tear down the selenium server. I'm not sure if test.doLast
is executed if the task has failed. Perhaps someone else on the list
could advise you of a better way of doing it.
On Jul 4, 2011, at 9:10 AM, Tomek Kaczanowski wrote:
Ok, now I understand why you were surprised by my request. :)
apply plugin: "java"
Put your JUnit tests in src/test/java, and then "gradle test" will
run them.
The rest is specifics to selenium itself.
I want to run selenium server from build.gradle and shut it down after
tests are finished. I would also like to run html selenium tests, they
are not Junit.
--
Regards / Pozdrawiam
Tomek Kaczanowski
http://kaczanowscy.pl/tomek
Cheers,
Merlyn
On Jul 4, 2011 9:00 AM, "Tomek Kaczanowski" <[email protected]
>
wrote:
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email