JGiven icon indicating copy to clipboard operation
JGiven copied to clipboard

Android support multiple device execution

Open originx opened this issue 7 years ago • 0 comments

Opening this for tracking, so it does not fall back or gets missed. Current implementation of Android BDD test runners supports running the JGiven on 1 device, we need to make it working for an array of devices for any test runner (example Spoon https://github.com/square/spoon)

To achieve this we need: -after test run pull files from all devices in their respective directories -apply html or other needed actions on pulled test results files from the devices -clean up test data from the devices after test run

Possible ways to do this:

  • https://github.com/novoda/gradle-android-command-plugin <-- maybe, looks usefull
  • use SpoonUtils from Spoon library, problem here is to check what licence do they have and is it allowed to be used with JGiven https://github.com/square/spoon/blob/master/spoon-runner/src/main/java/com/squareup/spoon/SpoonUtils.java -write custom implementation of the above 2 suggestions

Acceptance criteria: -feature is implemented -tests for the multiple devices are done -jgiven-android project supports multiple device test runners out of the box without any major gradle magic just lib include -feature is properly documented how to use and where

originx avatar Mar 03 '17 21:03 originx