Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4BE3A200D1D for ; Sat, 30 Sep 2017 01:49:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4A5571609EE; Fri, 29 Sep 2017 23:49:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 871631609D1 for ; Sat, 30 Sep 2017 01:49:29 +0200 (CEST) Received: (qmail 90655 invoked by uid 500); 29 Sep 2017 23:49:28 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 90638 invoked by uid 99); 29 Sep 2017 23:49:28 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Sep 2017 23:49:28 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2F264F5C0E; Fri, 29 Sep 2017 23:49:26 +0000 (UTC) From: stevengill To: commits@cordova.apache.org Reply-To: commits@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-plugin-test-framework pull request #27: CB-13342 : Updated README.md... Content-Type: text/plain Message-Id: <20170929234927.2F264F5C0E@git1-us-west.apache.org> Date: Fri, 29 Sep 2017 23:49:26 +0000 (UTC) archived-at: Fri, 29 Sep 2017 23:49:30 -0000 Github user stevengill commented on a diff in the pull request: https://github.com/apache/cordova-plugin-test-framework/pull/27#discussion_r141247633 --- Diff: 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. 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. --- End diff -- Maybe before the second sentence, add a sentence about plugins requiring `package.json` now and tests are considered their own plugins. --- --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org