Tried to split tests in batches fallowing the examples provided in
http://thucydides.info/docs/serenity-staging/#_running_serenity_tests_in_parallel_batchesThe runner is not splitting the in separate batches.
Using:
| serenity.batch.strategy=DIVIDE_BY_TEST_COUNT |
serenity.batch.size=2
We get an empty test run:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.batch.number=1
[main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.batch.strategy=DIVIDE_BY_TEST_COUNT
[main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.batch.size=2
Running net.serenity.samples.batch.junit.features.registration.LoginUserTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in net.serenity.samples.batch.junit.features.registration.LoginUserTest
Running net.serenity.samples.batch.junit.features.registration.RegisterUserTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in net.serenity.samples.batch.junit.features.registration.RegisterUserTest
Running net.serenity.samples.batch.junit.features.registration.UserActivationProcessTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in net.serenity.samples.batch.junit.features.registration.UserActivationProcessTest
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- serenity-maven-plugin:1.1.42:aggregate (serenity-reports) @ serenity-junit-webtests ---
[INFO] serenity.batch.number=1
[INFO] serenity.batch.strategy=DIVIDE_BY_TEST_COUNT
[INFO] serenity.batch.size=2
[INFO] current_project.base.dir: D:\web_ser_try\serenity-demos-master\junit-batch-configuration-example
Generating HTML Story Reports from D:\web_ser_try\serenity-demos-master\junit-batch-configuration-example\target\site\serenity
Generating HTML Story Reports to D:\web_ser_try\serenity-demos-master\junit-batch-configuration-example\target\site\serenity
[WARNING] To generate correct requirements coverage reports you need to set the 'serenity.test.root' property to the package representing the top of your requirements hierarchy.
GENERATE CUSTOM REPORTS
[INFO]
[INFO] --- maven-failsafe-plugin:2.18.1:verify (default) @ serenity-junit-webtests ---
[INFO] Failsafe report directory: D:\web_ser_try\serenity-demos-master\junit-batch-configuration-example\target\failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
If we use:
serenity.batch.strategy=DIVIDE_BY_TEST_COUNT
serenity.batch.size=2
We run all the tests:
https://pastebin.mozilla.org/8920127Is there something wrong with batch testing? Am I doing something wrong?
Here is the project:
https://github.com/bebef1987/serenity_batchesThanks,
Bebe