serenity-bdd / serenity-cucumber4-starter

49 stars 73 forks source link

Please describe how to configure parallel testing for Zalenium using this project? #16

Open ChristianHauwert opened 5 years ago

ChristianHauwert commented 5 years ago

-Using this project -Changed config file accordingly (to what is described at https://serenity-bdd.github.io/theserenitybook/latest/serenity-grid.html) to use remote webdriver. -Zalenium is executing the example tests of the project. (configures as default: 2 nodes, 1 test per node). -Nonetheless, it seems to run sequentially by default (1 test on node 1 and after it is done the 2nd test on node 2, where I was expecting test 1 on node 1 to run concurrent with test 2 on node 2).

Can you please specify how this needs to configured? I noticed that the pom file contains the maven failsafe plugin but how to use it to run these example tests in parallel is not clear to me yet in relation to the project and the following references: https://cucumber.io/docs/guides/parallel-execution/ https://serenity-bdd.github.io/theserenitybook/latest/serenity-grid.html

Thanks in advance.

wakaleo commented 5 years ago

See https://johnfergusonsmart.com/running-parallel-tests-serenity-bdd-cucumber/

ChristianHauwert commented 5 years ago

Thanks for the quick response! I was aware of this article (and tried it without any success) already but I though it would be outdated as it was described in 2017. Good to know it is still relevant and the way to implement parallel testing. Will look into it more thoroughly.