apache / cordova

Apache Cordova
https://cordova.apache.org/
622 stars 64 forks source link

[Plugins] Add dependency for cordova-plugin-test-framework in /tests #114

Open janpio opened 5 years ago

janpio commented 5 years ago

Currently you have to manually also install https://github.com/apache/cordova-plugin-test-framework if you want to run the tests via cdvtests/index.html when adding the plugin tests.

This could probably be avoided by adding

<dependency id="cordova-plugin-test-framework" />

to each tests/plugin.xml (Example: https://github.com/apache/cordova-plugin-camera/blob/master/tests/plugin.xml).

janpio commented 5 years ago

Maybe it also makes sense to add the plugin itself automatically!? Then it could all be installed via 1 plugin add for the tests.