Github user filmaj commented on a diff in the pull request:
https://github.com/apache/cordova-paramedic/pull/18#discussion_r92491112
--- Diff: lib/appium/AppiumRunner.js ---
@@ -102,6 +102,24 @@ function getConfigPath(appPath) {
return path.join(appPath, 'config.xml');
}
+function installAppiumServer() {
+ /*
+ * We install appium in this counter-intuitive way at runtime in order
to
+ * not trigger massive dependency downloads via `npm install` for
autotest
+ * execution. Installing appium only happens in the local-running
case, and
+ * thus is not needed in our CI system. By using this method, we save
the CI
+ * a lot of time.
+ * ALTERNATIVE: what if paramedic dependencies were installed via `npm
install
+ * --production`, and appium was stuffed into `devDependencies`. That
should
+ * also prevent this problem?
--- End diff --
@purplecabbage Can you elaborate how either of the current approach or
putting appium into devDependencies sacrifices the individual plugin developer?
I don't follow.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]