Вопрос

I'm trying to run a groovy version of this:

http://sauceio.com/index.php/2010/10/parallel-junit-4-and-selenium-part-three-parallelism-and-ondemand/

The motivation is to run this from groovy to be able to use Geb.

I was able to run the test in this folder with:

sh run-test.sh

(you may have to adapt to run with a chromedriver if you don't use mac)

The problem is that after it runs it stall until I kill the process.

As I wan't to implement a custom version of Parallelized I need to do it in java.

You can check in the other folder of the repo (gradleOnly) my failed attempt.

So the question is what's the best, simplest way to add a java class to the mixture?

gradle? groovy only? (I don't know how to tell groovy to recognize the java files in the folder)

thanks in advance for any pointer

Это было полезно?

Решение

So I found an example here: https://github.com/geb/geb-example-gradle. Following this I could achieve the problem.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top