cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From filmaj <>
Subject [GitHub] cordova-plugin-test-framework pull request #24: Add important build step abo...
Date Tue, 23 May 2017 19:25:54 GMT
Github user filmaj commented on a diff in the pull request:
    --- Diff: ---
    @@ -63,6 +64,8 @@ For example, the `cordova-plugin-device` plugin has this nested [`plugin.xml`](h
     The `cordova-plugin-test-framework` plugin will automatically find all `tests` modules
across all plugins for which the nested tests plugin is installed.
    +> **Important:** Inside your project's `tests/` folder you also have to create a `package.json`.
See the [`package.json` of the `cordova-plugin-device`](
for an example.
    --- End diff --
    Ah yes, good point. Could I suggest, however, that we reword this a bit and move the paragraph
up above the previous "...will automatically find all `tests` modules" paragraph?
    In particular, I would structure this paragraph just like the first paragraph in the section,
in a similar, instruction-providing way. Explaining _why_ this needs to be done would be a
nice touch, too - it would help users understand the intentions behind each requirement. In
particular, the latest version of the tools ensure to run `npm install` on any plugin added
to a project, to ensure to pull in any dependencies. Therefore, plugin authors can now put
npm dependencies around their tests into the `package.json` file.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message