Monday, March 5, 2012

run multiple jetty in gradle


Background:
I have a selenium test suite for end-to-end web testing.
Currently, it is running on jenkins box but it is taking so long to finish all the tests.
So, next step is to parallelize the selenium tests.
As a first step, I need to start multiple jetty servers using different port.

With Gradle jetty plugin, I camp up how to run the multiple jetty servers before tests.

2 comments:

Anonymous said...

Nice! This is cool...

Anonymous said...

Really cool! Gradle is a breath of air, especially
after ugly boileplating with maven xml.

Cool hack of jetty.
Thanks!