[
https://issues.apache.org/jira/browse/CB-7459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143249#comment-14143249
]
ASF GitHub Bot commented on CB-7459:
------------------------------------
GitHub user jpchase opened a pull request:
https://github.com/apache/cordova-plugin-test-framework/pull/6
CB-7459 Add header to show number of enabled plugin tests
It is not obvious if all/how many plugin tests are being run, given that:
- Individual plugin tests can be enabled/disabled by the user
- The enabled settings are remembered across app runs (even if the user
forgets)
- The UI widgets to enable/disable individual plugins is hidden in a
collapsed
section by default, so are not visible
To aid the user, a header has been added to explicitly show the total
number of
tests, and how many are enabled (e.g. "All" vs. "N/M").
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jpchase/cordova-plugin-test-framework
CB-7459-part2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-test-framework/pull/6.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6
----
commit 1456ebc984e93ddd7b708aa8f00ebeae32d4eea7
Author: Jason Chase <[email protected]>
Date: 2014-09-15T13:55:50Z
CB-7459 Add header to show number of enabled plugin tests
It is not obvious if all/how many plugin tests are being run, given that:
- Individual plugin tests can be enabled/disabled by the user
- The enabled settings are remembered across app runs (even if the user
forgets)
- The UI widgets to enable/disable individual plugins is hidden in a
collapsed
section by default, so are not visible
To aid the user, a header has been added to explicitly show the total
number of
tests, and how many are enabled (e.g. "All" vs. "N/M").
----
> Allow automatic tests to be run for specific plugin(s)
> ------------------------------------------------------
>
> Key: CB-7459
> URL: https://issues.apache.org/jira/browse/CB-7459
> Project: Apache Cordova
> Issue Type: Improvement
> Components: mobile-spec
> Reporter: Jason Chase
> Assignee: Michal Mocny
> Priority: Minor
>
> Currently, the mobile spec test runner will discover automatic tests for all
> plugins, and then run all discovered tests en masse. When working on a
> specific issue/plugin, it would be convenient to be able to run tests for a
> single plugin (or small subset of plugins).
> The test framework already supports the concept of enabling/disabling tests
> for plugins, but that is not exposed in the UI for the test runner.
> Proposed changes:
> * On the "Auto Tests" page for plugins, provide a UI to individually select
> which tests should be run. This UI should allow for multi-select of plugins.
> * The UI for test selection should indicate the existing "enabled" status of
> each plugin
> * When the page is initially loaded, keep the existing behaviour, where all
> enabled plugin tests are automatically run
> * Subsequent runs (i.e. using the existing <Again> button) will reflect any
> user changes to the selected tests
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)