-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Cucumber tests parallel execution with Testlab #59
Comments
Check logcat logs from devices. You can paste it here |
Even though the last log entry says test failed, Actually the test succeeded and marked it as passed on Testlab. 🧐🧐 |
Exception suggests that no activity is started. Maybe Hooks.setup is not called? Try to put some logcat logs in your methods to see what is exactly going on |
I put logs on both @before and @after invocations and in between each test run, It is printing the logs. Also, The execution was successful even on Testlab and local. The only issue is that the tests are not distributing to run on their own shards on Testlab. It always executes tests sequentially. I am trying to split and run the cucumber tests on each device on Firebase Testlab.
|
I am not familiar with Firebase Test Lab. If you run tests locally with simple instrumentation commandline and specified shard arguments then it should work (or with spoon runner) |
Thanks @lsuski. I can try that. Do we have documentation to try this? This way even if we use any CI system to run our cucumber tests, It will consume the local emulators to share the tests if I understood correctly. |
Check android documentation for running shards or spoon runner on github or just cukeulator sample in this repo. |
Problem:
I am running Cucumber UI tests with Firebase Testlab. All are working fine. The sequential run is successful and getting all reports.
Currently, I am trying to distribute the tests to run it on Testlab parallelly But seems like it is failing to find the tests.
I am getting some log which says 0 test cases found
It is actually run all the cases sequentially on the 1 shard created. But no parallel runs.
My Gcloud configuration looks like this
Cucumber configuration:
Cucumber Android version
4.8.4
Can someone please help on this.
The text was updated successfully, but these errors were encountered: