apache / cordova-paramedic

Apache Cordova - Paramedic
https://cordova.apache.org/
Apache License 2.0
36 stars 53 forks source link

Build and run app separately #172

Open janpio opened 5 years ago

janpio commented 5 years ago

Currently the app is built differently depending on wether you run the tests locally or on SauceLabs. This makes it more difficult to understand what is going on.

Suggestion: Use run -nobuild to run the app (locally), and always build separately and in its own step.

janpio commented 5 years ago

Note: Appium tests also rebuild the app again, because they do some changes.

https://github.com/apache/cordova-paramedic/blob/da2770f7303c0decb2d6350cc099521db466a924/lib/appium/AppiumRunner.js#L263-L295

janpio commented 5 years ago

https://github.com/apache/cordova-paramedic/pull/173 splits the build and run for the normal tests, so the build is identical for both local and SauceLabs runs.