Commit Graph
5 Commits
Author SHA1 Message Date
Nicola Soranzo 2c9e89a398 Lint a bunch of test tools 2021-01-05 12:39:53 +00:00
John Chilton 3654901144 Restricted selection text inputs for workflow inputs. 2019-12-10 13:25:17 -05:00
John Chilton f469db3d7e Fixes for boolean & select handling in test data elements.
- Allow boolean "truevalue"/"falsevalue" to be used in plain (non-conditional test element) parameters (see https://trello.com/c/iGk3f1pE).
 - Fix conditionals to use processed values - so this fix and 5b6c092aa0 are applid to these elements as well. (http://osdir.com/ml/general/2015-05/msg24402.html).

This also adds tests to verify these behaviors.

Run most relevant tests with commands:

    ./run_tests.sh -framework -id simple_constructs
    ./run_tests.sh -framework -id multi_select
    ./run_tests.sh -framework -id boolean_conditional
2015-05-19 12:43:32 -04:00
John Chilton e84d3225ec Add more simple constructs to simple_constructs.xml test tool.
These demonstrate different kinds of simple selectors - using them for testing workflow runtime parameter problems.
2015-04-09 09:33:26 -04:00
John Chilton a0d6d113ab Add more sample tools for tool testing framework.
Adding multi_select.xml, which demonstrates twill cannot deal with - at the beginning of select param values - this test works immediately with API interactor.

Also adding a multi_output.xml, this is a tool using variable number of outputs (force_refresh=True), both interactors pass this but it is a good test to verify that.

Also adding example to test multi-page tools (multi_page.xml) - both interactors pass this test. Though the API needed to be adjusted to allow its use (in a previous changeset).

Also adding example tool demonstrating extra_files output.

Finally, a tool simple_constructs.xml that just tests the basics, various parameter types, simple conditional, and simple repeat.
2013-11-21 19:17:12 -06:00