artemnikitin / devicefarm-ci-tool

Tool that helps you to run tests in AWS Device Farm easily
MIT License
15 stars 5 forks source link

How to send a parameter for a RunListener #168

Open ViliusKraujutis opened 3 years ago

ViliusKraujutis commented 3 years ago

To specify one or more RunListeners to observe the test run one could add an extra parameter like this: -e listener com.foo.Listener,com.foo.Listener2.

Full command would look like this:

adb shell am instrument -w -e debug true -e listener com.example.testrail.exampleapp.ExampleRunListener com.example.testrail.exampleapp.test/androidx.test.runner.AndroidJUnitRunner

How could I pass such extra parameters to the devicefarm-ci-tool? Anyone had an experience with this?