Commit Graph
20 Commits
Author SHA1 Message Date
John Chilton dce53769bd Implement default locations for data and collection parameters.
Works for both files and collections. Workflow defaults override tool defaults.

TODO:

- Unit test case to ensure this only works for non-default, non-multi data parameters.
- Implement XSD once syntax is finalized.
2023-11-01 11:52:44 -04:00
mvdbeek df6551da78 Test that metadata validators work 2022-06-25 12:55:51 +02:00
John Chilton e4d7cb5208 EDAM info on test tools. 2021-08-11 10:14:43 -04:00
Nicola Soranzo 2c9e89a398 Lint a bunch of test tools 2021-01-05 12:39:53 +00:00
Nicola Soranzo 1e9f83b53e Add missing single-quotes in tools Cheetah 2020-11-10 19:29:22 +00:00
will 009611cf04 add .gitattributes file and normalize line endings to use LF instead of CLRF 2019-09-18 22:03:37 -04:00
John Chilton bf550da2af Merge pull request #6684 from nsoranzo/deprecate_param_size
Deprecate `size` attribute of `<param/>` and remove it from tools
2018-12-12 10:51:28 -05:00
John Chilton f3da0864b4 Test case for regression #6856. 2018-10-12 09:03:12 -04:00
Nicola Soranzo f865e8359f Deprecate size attribute of <param/> and remove it from tools
Also:
- dos2unix test/functional/tools/for_workflows/head.xml
- Single-quote text and data params in `<command/>`
- Remove deprecated `interpreter` attribute of `<command />`
2018-09-10 11:34:37 +01:00
mvdbeek 940ed5f5dd Break test by adding "list" to collection_type
This will break tests trying to map over list:pair collections,
for instance test_extract_workflows_with_dataset_collections.
2018-06-08 10:41:07 +02:00
John Chilton 9e471d3e97 Allow mapping over empty collections.
If one maps a tool over an empty collection, one should get an empty output collection for each of the tool's outputs.

This should have always been a valid operation I think, the code just wasn't quite structured right when the collection work was merged - there were too many places I was assuming the existence of at least one actual output or input that was mapped over to continue going. This reworks all of that and seems to handle empty collections appropriately.

Fixes #4025 (not being informing the user of the operation, but actually by allowing the operation - which it should be allowed I think).
2017-11-30 10:02:02 -05:00
John Chilton a18b24e067 Allow rename PJA to target input collections.
Implements #2346 w/test case.
2017-01-05 09:06:19 -05:00
John Chilton d9ffbc433e Test cases for renaming datasets based on tool input datasets.
Includes test cases for #3197 and #662.
2017-01-05 09:06:19 -05:00
John Chilton da1f1bd8b2 Fixes to create_input_collection.xml based on comments from @nsoranzo. 2016-03-21 11:21:08 +00:00
John Chilton 85ef86ab2e Improvements to workflow scaling performance testing scripts.
- Implement a wrapper script for launching a docker-galaxy-stable setup a many ways for this task including:
    - Configure container's Galaxy with outer Galaxy's lib and test directory.
    - Collect log files.
    - Log a statement for interacting with the container easily while the test is running.
    - Disable unneeded services.
 - Implement a fan-in-fan-out style workflow for performance testing.
 - Add an option to test performance of scheduling workflows without actually running jobs.
 - Sample tool for creating large collections easily at beginning of tests (much faster than uploads).
 - Sample tool for splitting a file into a collection for fan in and out workflow test.
 - Assume Python 2.7 in scripts to simplify things.
 - Add documentation.
2016-03-21 01:39:45 +00:00
John Chilton 807586ace8 Merge release_16.01 into dev. 2016-01-26 09:06:52 +00:00
John Chilton a357e2b613 Workflow scaling test infrastructure.
- Add script to hit the API with workflows requests.
 - Update testing Dockerfile to allow just booting up with a fixed master API key for this test to leverage.
 - WIP: on updating test Dockerfile to work with slurm, multiple handlers, uwsgi, etc...
2015-03-25 14:54:48 -04:00
John Chilton c5511cd747 Add very basic functional tests for tool param validation.
Including same test with workflow parameter substition - gotta admit I thought that workflow test was going to fail - so this week is looking pretty good :).
2014-09-08 10:33:54 -04:00
John Chilton abf4005749 Add another example tool - to illustrate three ways to collect files for concatenation. 2014-09-05 15:19:18 -04:00
John Chilton 401fad5e25 Add some more basic test tools for building simple workflows for testing. 2014-08-27 16:32:26 -04:00