apache / cordova-plugin-file-transfer

Apache Cordova File Transfer Plugin
https://cordova.apache.org/
Apache License 2.0
596 stars 887 forks source link

CB-11926 Tests can use local server #159

Closed alsorokin closed 7 years ago

alsorokin commented 7 years ago

Platforms affected

All

What does this PR do?

Allows tests to use a locally deployed server. You can specify its address via --variable FILETRANSFER_SERVER_ADDRESS=http://your.address.here:5000 upon plugin installation. The server itself can be found at: https://github.com/apache/cordova-labs/tree/cordova-filetransfer However, it's easier to just use paramedic, which can deploy this server and patch the tests to use it automatically: https://github.com/apache/cordova-paramedic/pull/17

What testing has been done on this change?

Tested w/ and w/o paramedic on Android and Windows platforms.

Checklist