AppiumTestDistribution icon indicating copy to clipboard operation
AppiumTestDistribution copied to clipboard

How to get distributed execution at class level using ATD

Open deepakarorawins opened this issue 4 years ago • 5 comments

Parallel will run all the tests across device- which helps you to get the device coverage Distribute will distribute all the tests across devices which help you faster execution

Can we restrict distribution at class level (to run whole class on one device and other class on another device) ? How using ATD ?

deepakarorawins avatar Sep 16 '21 10:09 deepakarorawins

Yes, set RUNNER_LEVEL="parallel" this will run tests at class level

saikrishna321 avatar Sep 19 '21 02:09 saikrishna321

Now, I've noticed that there is no effect for my listener which I've added in config.properties. I was following "PagePatternAppium" then I tried putting config.properties at different places, it never get picked up. Also, I've given "RUNNER=parallel" it remains "RUNNER=distributed" when I saw it in debug mode.

Could you please suggest right step to provide custom listener if I'm doing it wrong ?

image

deepakarorawins avatar Sep 22 '21 12:09 deepakarorawins

@deepakarorawins Thanks for reporting. Looks like a bug. Let me investigate on it.

saikrishna321 avatar Sep 23 '21 10:09 saikrishna321

I tried to fix and raised a PR: - https://github.com/AppiumTestDistribution/AppiumTestDistribution/pull/891

It says... First-time contributors need a maintainer to approve running workflows. Learn more. 1 failing, 4 cancelled, and 5 successful checks

deepakarorawins avatar Sep 27 '21 08:09 deepakarorawins

@deepakarorawins Thanks for the contribution. I have merged the PR and make a release soon.

saikrishna321 avatar Oct 03 '21 03:10 saikrishna321