Skip to main content

galaxy-workflow-tool-tests

A simple wrapper around Galaxy’s galaxy-tool-test that runs tool tests for all the tools in a workflow.

Minimal Usage:

galaxy-workflow-tool-tests  -k <api_key> -u http://localhost:8080/ <encoded_workflow_id>

Program Help

$ galaxy-workflow-tool-tests --help
usage: galaxy-workflow-tool-tests [-h] [-u GALAXY_URL] [-k KEY] [-a ADMIN_KEY]
                                  [--force_path_paste] [-t TOOL_ID]
                                  [--tool-version TOOL_VERSION]
                                  [-i TEST_INDEX] [-o OUTPUT] [--append]
                                  [--skip-previously-executed | --skip-previously-successful]
                                  [-j OUTPUT_JSON] [--verbose]
                                  [-c CLIENT_TEST_CONFIG]
                                  [--suite-name SUITE_NAME]
                                  [--with-reference-data]
                                  [--skip-with-reference-data]
                                  [--history-per-suite | --history-per-test-case]
                                  [--no-history-cleanup] [--publish-history]
                                  [--parallel-tests PARALLEL_TESTS]
                                  [--retries RETRIES] [--page-size PAGE_SIZE]
                                  [--page-number PAGE_NUMBER]
                                  [--download-attempts DOWNLOAD_ATTEMPTS]
                                  [--download-sleep DOWNLOAD_SLEEP]
                                  [--test-data TEST_DATA]
                                  WORKFLOW_ID

Script to quickly run a tool test against a running Galaxy instance.

positional arguments:
  WORKFLOW_ID           workflow id to scan for tools

optional arguments:
  -h, --help            show this help message and exit
  -u GALAXY_URL, --galaxy-url GALAXY_URL
                        Galaxy URL
  -k KEY, --key KEY     Galaxy User API Key
  -a ADMIN_KEY, --admin-key ADMIN_KEY
                        Galaxy Admin API Key
  --force_path_paste    This requires Galaxy-side config option
                        "allow_path_paste" enabled. Allows for fetching test
                        data locally. Only for admins.
  -t TOOL_ID, --tool-id TOOL_ID
                        Tool ID
  --tool-version TOOL_VERSION
                        Tool Version (if tool id supplied). Defaults to just
                        latest version, use * to test all versions
  -i TEST_INDEX, --test-index TEST_INDEX
                        Tool Test Index (starting at 0) - by default all tests
                        will run.
  -o OUTPUT, --output OUTPUT
                        directory to dump outputs to
  --append              Extend a test record json (created with --output-json)
                        with additional tests.
  --skip-previously-executed
                        When used with --append, skip any test previously
                        executed.
  --skip-previously-successful
                        When used with --append, skip any test previously
                        executed successfully.
  -j OUTPUT_JSON, --output-json OUTPUT_JSON
                        output metadata json
  --verbose             Verbose logging.
  -c CLIENT_TEST_CONFIG, --client-test-config CLIENT_TEST_CONFIG
                        Test config YAML to help with client testing
  --suite-name SUITE_NAME
                        Suite name for tool test output
  --with-reference-data
  --skip-with-reference-data
                        Skip tests the Galaxy server believes use data tables
                        or loc files.
  --history-per-suite   Create new history per test suite (all tests in same
                        history).
  --history-per-test-case
                        Create new history per test case.
  --no-history-cleanup  Perserve histories created for testing.
  --publish-history     Publish test history. Useful for CI testing.
  --parallel-tests PARALLEL_TESTS
                        Parallel tests.
  --retries RETRIES     Retry failed tests.
  --page-size PAGE_SIZE
                        If positive, use pagination and just run one 'page' to
                        tool tests.
  --page-number PAGE_NUMBER
                        If page size is used, run this 'page' of tests -
                        starts with 0.
  --download-attempts DOWNLOAD_ATTEMPTS
                        Galaxy may return a transient 500 status code for
                        download if test results are written but not yet
                        accessible.
  --download-sleep DOWNLOAD_SLEEP
                        If download attempts is greater than 1, the amount to
                        sleep between download attempts.
  --test-data TEST_DATA
                        Add local test data path to search for missing test
                        data

History

0.0.2 (2020-12-16)

  • Fixes to project structure for PyPI.

0.0.1 (2020-12-16)

  • Initial testing release.

Metadata

Release files for galaxy-workflow-tool-tests 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for galaxy-workflow-tool-tests 0.0.2
File Size Uploaded
galaxy-workflow-tool-tests-0.0.2.tar.gz 9.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for galaxy-workflow-tool-tests 0.0.2
File Interpreter ABI Platform
galaxy_workflow_tool_tests-0.0.2-py3.6.egg Legacy Egg format - - Details
galaxy_workflow_tool_tests-0.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 23.8 kB

Release files / galaxy-workflow-tool-tests-0.0.2.tar.gz

Download URL galaxy-workflow-tool-tests-0.0.2.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
18906b87b94fe45710d29a72fd8c0db130f3115e29faa167c0f0fa6d35ece78f
BLAKE2b-256 checksum
How to use checksums
a39a5c99a66bb127ec555d1b8fbf83577913f3053bbb06407e9bd154627f4a08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.12

Release files / galaxy_workflow_tool_tests-0.0.2-py3.6.egg

Download URL galaxy_workflow_tool_tests-0.0.2-py3.6.egg
Size 5.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
2a48e2484e27ded39fb21da4e266121481c4c26f313ca8b7f69518e03620238e
BLAKE2b-256 checksum
How to use checksums
e63248c7a00f53412d8e45f5b362f2fed968e0f450bb72e8d9ec763317f1d124
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.12

Release files / galaxy_workflow_tool_tests-0.0.2-py2.py3-none-any.whl

Download URL galaxy_workflow_tool_tests-0.0.2-py2.py3-none-any.whl
Size 8.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
63cbaf0b678f4c8ea85eef770f87abedb5e68af68cd46ec0db932eb7d63d8de9
BLAKE2b-256 checksum
How to use checksums
7f861933661f9c4220171824bd5d2002cf5ecda7d0301eec849db1cc00c4ea49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.12

Release history Release notifications | RSS feed

This release

0.0.2 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page