Repository: cordova-plugin-test-framework
Updated Branches:
  refs/heads/master 37acdf607 -> 33749f172


CB-13342 : Updated README.md regarding package.json


Project: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/33749f17
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/33749f17
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/33749f17

Branch: refs/heads/master
Commit: 33749f1727f5cc0456ea5abbfa7d3751b8431393
Parents: 37acdf6
Author: Audrey So <[email protected]>
Authored: Tue Sep 26 15:32:53 2017 -0700
Committer: Audrey So <[email protected]>
Committed: Mon Oct 2 09:36:48 2017 -0700

----------------------------------------------------------------------
 README.md | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/33749f17/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index c736a76..4bedaec 100644
--- a/README.md
+++ b/README.md
@@ -62,6 +62,10 @@ Add a directory named `tests` to the root of your plugin. 
Within this directory,
 
 For example, the `cordova-plugin-device` plugin has this nested 
[`plugin.xml`](https://github.com/apache/cordova-plugin-device/blob/master/tests/plugin.xml).
 
+Create a `package.json` inside your project's `tests/` folder. Plugins require 
a `package.json` now and tests are considered their own plugins. The latest 
version of the tools ensure to run `npm install` on any plugin added to a 
project and pull in any dependencies. Therefore, plugin authors can now put npm 
dependencies around their tests into the `package.json` file.
+
+For example,the `cordova-plugin-device` plugin contains a 
[`package.json`](https://github.com/apache/cordova-plugin-device/blob/master/tests/package.json).
+
 The `cordova-plugin-test-framework` plugin will automatically find all `tests` 
modules across all plugins for which the nested tests plugin is installed.
 
 ### Defining Auto Tests


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to