Skip to main content

Galaxy Workflow Format 2 Descriptions

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

galaxy-workflow-tool-tests-0.0.2.tar.gz (9.2 kB view details)

Uploaded Source

Built Distributions

galaxy_workflow_tool_tests-0.0.2-py3.6.egg (5.9 kB view details)

Uploaded Source

galaxy_workflow_tool_tests-0.0.2-py2.py3-none-any.whl (8.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file galaxy-workflow-tool-tests-0.0.2.tar.gz.

File metadata

  • Download URL: galaxy-workflow-tool-tests-0.0.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for galaxy-workflow-tool-tests-0.0.2.tar.gz
Algorithm Hash digest
SHA256 18906b87b94fe45710d29a72fd8c0db130f3115e29faa167c0f0fa6d35ece78f
MD5 11b98a4519f30bf2e3afa32d6467f6d1
BLAKE2b-256 a39a5c99a66bb127ec555d1b8fbf83577913f3053bbb06407e9bd154627f4a08

See more details on using hashes here.

File details

Details for the file galaxy_workflow_tool_tests-0.0.2-py3.6.egg.

File metadata

  • Download URL: galaxy_workflow_tool_tests-0.0.2-py3.6.egg
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for galaxy_workflow_tool_tests-0.0.2-py3.6.egg
Algorithm Hash digest
SHA256 2a48e2484e27ded39fb21da4e266121481c4c26f313ca8b7f69518e03620238e
MD5 e6866b8a14c47cf523cfdbb21379c5f1
BLAKE2b-256 e63248c7a00f53412d8e45f5b362f2fed968e0f450bb72e8d9ec763317f1d124

See more details on using hashes here.

File details

Details for the file galaxy_workflow_tool_tests-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: galaxy_workflow_tool_tests-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for galaxy_workflow_tool_tests-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 63cbaf0b678f4c8ea85eef770f87abedb5e68af68cd46ec0db932eb7d63d8de9
MD5 caa3443dd89db9d62652657dacd67efb
BLAKE2b-256 7f861933661f9c4220171824bd5d2002cf5ecda7d0301eec849db1cc00c4ea49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page