Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring Serenity tests to run parallel - Batch mode #1250

Closed
PadmajaSampath opened this issue May 15, 2018 · 0 comments
Closed

Configuring Serenity tests to run parallel - Batch mode #1250

PadmajaSampath opened this issue May 15, 2018 · 0 comments

Comments

@PadmajaSampath
Copy link

HI,

We have Serenity Junit tests and I tried configuring serenity properties for running tests in parallel as below.
serenity.batch.strategy=DIVIDE_BY_TEST_COUNT
serenity.batch.number=2
serenity.batch.size=2

Ran only one test though I had 6 tests in the same class

Tried as below

serenity.batch.strategy=DIVIDE_BY_TEST_COUNT
serenity.batch.number=1
serenity.batch.size=2

No tests are run.

Below is the maven profile from pom

chrome



maven-failsafe-plugin
2.17


${testSuite}


<webdriver.driver>chrome</webdriver.driver>
<webdriver.chrome.driver>src/test/resources/drivers/chromedriver.exe</webdriver.chrome.driver>
<webdriver.remote.url>${webdriver.remoteurl}</webdriver.remote.url>
<webdriver.remote.driver>${webdriver.driver}</webdriver.remote.driver>





integration-test
verify






We have loads of tests and we want to get the execution time down by getting this to work. Can someone help pls ?

Regards

@wakaleo wakaleo closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants