cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7459) Allow automatic tests to be run for specific plugin(s)
Date Wed, 14 Jan 2015 20:51:34 GMT

    [ https://issues.apache.org/jira/browse/CB-7459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277649#comment-14277649
] 

ASF GitHub Bot commented on CB-7459:
------------------------------------

Github user mmocny commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-test-framework/pull/6#discussion_r22968802
  
    --- Diff: www/main.js ---
    @@ -215,6 +237,12 @@ function createEnablerList() {
     
       enablerList.appendChild(checkButtonBar);
       
    +  header.appendChild(headerPrefix);
    +  header.appendChild(enabledCount);
    +  header.appendChild(totalCount);
    +  header.appendChild(headerSuffix);
    --- End diff --
    
    This seems needlessly complex.  Why not just a single text element, and we set the whole
"Running X of Y" text each time?  We already append the '/' to the first span and we aren't
using any fancy data binding.


> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message