Commit Graph
670 Commits
Author SHA1 Message Date
mvdbeek 592f15c7b5 Add sam-to-bam conversion test tool 2016-11-16 22:01:47 +01:00
Martin Cech 7eb413f4e8 Merge pull request #2961 from jmchilton/xsd_fixes_1
Improve ``version_command`` tag.
2016-10-17 13:31:52 -04:00
John Chilton 448a27a4a1 Merge remote-tracking branch 'jmchilton/dev' into collection_tools 2016-10-16 09:49:31 -04:00
John Chilton 15ad14e662 Enhance merge collection work from @Takadonet with more merge conflict actions.
And allow it to work over any number of input collections.
2016-10-16 09:48:38 -04:00
Martin Cech 1e2688f157 Merge pull request #3024 from jmchilton/multi_optional_param
Add documentation on optional ``multiple="true"`` data parameters.
2016-10-12 20:05:24 -04:00
John Chilton 75d1f8496a Merge pull request #3031 from nsoranzo/flake8-import-order
Fix import order and Python3 compatibility for most of test/
2016-10-10 21:21:21 -04:00
Nicola Soranzo 1e32c0926c Fix import order and Python3 compatibility for most of test/ 2016-10-10 19:06:22 +01:00
John Chilton 91bfecea67 Add documentation on optional `multiple="true"` data parameters.
Thanks to detailed biostar question from @lindenb (sorry these parameters are so counter-intuitive - I don't have an excuse other than a need to preserve backward compatibility).

Rebased with indention requested by @nsoranzo and fixes for the test case tool.
2016-10-10 10:51:36 -04:00
John Chilton 5a72449246 Implement beta support for dynamically discovering mulled containers for dependencies.
Contains all mulled fixes and enhancements through 16.10.7 including several bug fixes from @bgruening.
2016-10-08 10:01:09 -04:00
John Chilton e310453fd0 Improved docs and testing for color params. 2016-10-07 09:45:18 -04:00
John Chilton ab68b951da Implement metadata testing for list metadata. 2016-09-28 11:06:39 -04:00
yhoogstrate 8414e909a6 Registration of metadata column name test into appropriate XML file - thanks to @nsoranzo 2016-09-26 17:31:31 +02:00
yhoogstrate 25ca456697 Fuctional test case for testing column names as meta-data 2016-09-26 10:04:42 +02:00
John Chilton e8f35310ba Revise and improve `version_command` tag.
- Include deprecated ``interpreter`` tag in XSD. (Closes galaxyproject/planemo#574)
- Allow the use of ``$__tool_directory__`` in interpreter command (so we can actually call ``interpreter`` deprecated).
- Include sample tools of both of these styles.
- General improvements to the version command documentation.
2016-09-23 13:31:07 -04:00
John Chilton bbf72ef932 CI testing of newly integrated tool schema (XSD).
- Add CI script that lints the XSD definition and then validates all test tools against it.
- Add tox environment to run the aforementioned script.
- Add Travis check through tox to run the script.
- Drop the multi_page.xml test tool - pages have been removed from the framework and are not part of the schema (xref https://github.com/galaxyproject/galaxy/issues/1776).

This will hopefully ensure that all new tool features get added to the schema (as long as there is a test tool for the feature). xref https://github.com/galaxyproject/galaxy/pull/2923 https://github.com/galaxyproject/galaxy/pull/2903

Largely based on work done in Galaxy-XSD by JeanFred (e.g. https://github.com/galaxyproject/Galaxy-XSD/commit/386ba087881877093d4be1f6d8547166f6163f3c)
2016-09-16 13:06:15 -04:00
John Chilton d06e2a672b XSD discovered tool problems. 2016-09-08 11:40:01 -04:00
Nicola Soranzo 079aeddde2 Merge branch 'release_16.07' into dev
Conflicts:
	run.sh
	static/scripts/bundled/analysis.bundled.js
	static/scripts/bundled/analysis.bundled.js.map
	static/scripts/bundled/libs.bundled.js
	static/scripts/bundled/libs.bundled.js.map
2016-08-18 15:57:03 +01:00
Nicola Soranzo f4806e9dd4 Merge branch 'release_16.04' into release_16.07 2016-08-18 15:49:30 +01:00
John Chilton 0110d5a05a Add a test case to dbkey_output_action.xml.
Per @nsoranzo's template and suggestion.
2016-08-16 14:08:38 -04:00
John Chilton 510290feea Add example of regressed 16.04 behavior related to dbkey output actions. 2016-08-16 10:34:57 -04:00
John Chilton 9ae333987b Test tool demo-ing discovered dataset datatype metadata w/galaxy.json.
Also update the metadata test comparison to support non-textual values (e.g. floating point and integer metadata fields).
2016-08-04 13:37:01 -04:00
John Chilton 56bb42ad25 Fix allow tool to just test discovered datasets.
Previously some sort of test on the base file the primary datasets were keyed on was required.
2016-08-04 13:37:01 -04:00
John Chilton 76e84eb5e0 Add tool test for discovered dataset metadata from galaxy.json. 2016-08-04 13:37:00 -04:00
John Chilton 1fab4dfaff Add hack to test sleeping when verifying metadata.
Seems like a race condition but I can't determine why there would be one here - this check should help determine if it is a race condition or something else.
2016-08-04 13:37:00 -04:00
John Chilton e72201d204 Improvements for metadata specification w/galaxy.json of explicit outputs.
I call explicit outputs galaxy.json entries of type="dataset" (as opposed to type="new_primary_dataset" - which I call discovered datasets). Previously galaxy.json could set the name and extension of these datasets. I've added a test case to verify this and a small tweak to the tool test framework to allow easy testing of such metadata setting.

In order to bring explicit output metadata setting closer to parity with discovered dataset metadata setting, I've added the ability to define 'dbkey' and 'info' entries in galaxy.json for these outputs.
2016-08-04 13:36:38 -04:00
Nicola Soranzo 47f25f1dc6 Merge pull request #2631 from jmchilton/output_filter_exception
Add tool test for what happens when output filter throws exception.
2016-07-21 15:59:43 +01:00
John Chilton 274ec0f953 Fix typo spotted by @nsoranzo. 2016-07-21 08:55:35 -04:00
John Chilton 706a76ea80 Add tool test for what happens when output filter throws exception.
Run new test with:

```
./run_tests.sh -framework -id output_filter_exception_1
```

xref https://github.com/galaxyproject/tools-iuc/pull/883
xref https://github.com/galaxyproject/planemo/commit/a066afb1c2c30f4ef2c3033ab9a884b31c06e783
xref https://github.com/galaxy-iuc/standards/pull/31
2016-07-19 12:10:55 -04:00
Anthony Bretaudeau 706a9bfb23 cleanup test tool 2016-07-07 17:10:03 +02:00
Anthony Bretaudeau fb116f5715 fix missing element_identifier with data_collection input parama 2016-06-29 14:04:43 +02:00
Anthony Bretaudeau 1d228d9a5c add test case for galaxyproject/tools-iuc/issues/857 2016-06-28 20:00:25 +02:00
John Chilton 8a0056530f Improve configuration and display of collection operation tools. 2016-06-10 13:34:18 -04:00
John Chilton ddeff4ec0c New model tool that filters failed datasets out of a collection.
This differs from a traditional tool in that its inputs don't need to be in an 'ok' state and instead of creating new datasets and duplicating data on disk, new HDAs are created from the existing datasets.
2016-06-10 13:34:18 -04:00
Nicola Soranzo bb5dc6e20b Merge branch 'release_16.04' into dev 2016-06-08 16:09:39 +01:00
Daniel Blankenberg 42739c88c8 Add test for failing handling of BIOM1 metadata. 2016-06-07 12:02:09 -04:00
John Chilton 6da3223449 Update Galaxy testing to target latest galaxy-lib.
Incorporates https://github.com/galaxyproject/galaxy-lib/pull/10 which modifies the interface to the test output verification code to allow reuse from within Planemo in both non-tool and non-Galaxy contexts. I also think this represents a better separation of concerns.

One upshot of this is that CWL-style checksum verification is now possible from within Galaxy tools - a test case of this is included.
2016-05-31 14:42:10 -04:00
Dannon Baker b41e03994e Merge pull request #2409 from jmchilton/test_assertions_lib
Enhancements to tool test output verification.
2016-05-25 14:20:57 -04:00
John Chilton 4765f5876e Enhancements to tool test output verification.
Refactor test verification into galaxy-lib-compat module.

- Refactor a bunch class methods in ``test.base.twilltestcase`` into module functions in ``galaxy.tools.verify``.
- Move ``test.base.test_data`` to ``galaxy.tools.verify.test_data``.
- Move ``test.base.asserts`` to ``galaxy.tools.verify.asserts``.

Remove duplication in execution of these methods between composite and normal test outputs. This also entailed reworking the parsing of the composite test outputs to bring them inline with normal outputs. In addition to simplify removing duplication, this means many more tests can be made over composite outputs - such as md5 checks and test assertions. I've added a new framework test tool to verify this.
2016-05-25 09:37:49 -04:00
Nicola Soranzo 1652e0ceed Add EDAM topics to tools and expose in API 2016-05-24 12:17:39 +01:00
Nicola Soranzo 42219575e3 Annotate test yaml tool with edam_operations 2016-05-19 17:27:05 +02:00
Nicola Soranzo 8a43b2b492 Python 3: use "as" instead of comma in except clause 2016-05-17 23:53:16 +01:00
John Chilton 1ba74094a3 Improve composite output tool test.
- Rename expected output Log from input Log. This relieves a concern I had that the tests were just working because the inputs and outputs match.
 - Add another "unregistered" output file to the output directory and add a test for it. This verifies that such files are infact tested.
 - Add a nested "unregistered" output file to the output directory and add a test for it. This verifies that nested files are tested.
2016-05-16 11:51:03 -04:00
John Chilton c2b091d207 Tests demonstrating multi-data params in repeats are broken.
A test cases and a tool that can be tested directory.
2016-04-22 10:10:06 -04:00
John Chilton 34e3b7f1c2 Rename shed_conf attribute to is_shed_conf.
Per discussion with @nsoranzo.
2016-04-01 10:01:54 -04:00
John Chilton cb5e786aa9 Allow tool confs with a tool_path to not be interpreted as shed confs. 2016-04-01 09:28:46 -04:00
John Chilton 915b7edcb7 Unify and simplify script driver argument processing. 2016-03-29 08:04:27 -04:00
John Chilton 34f154d92e Rework upload tool. 2016-03-29 08:04:20 -04:00
Martin Cech 5b16589f29 Merge pull request #2019 from jmchilton/remove_twill_tests
Remove twill functional tests we don't actively run.
2016-03-26 12:17:13 -04:00
John Chilton a8c22ee9db Remove twill functional tests we don't actively run. 2016-03-25 15:35:11 -04:00
John Chilton da1f1bd8b2 Fixes to create_input_collection.xml based on comments from @nsoranzo. 2016-03-21 11:21:08 +00:00