Skip to main content

Linux Build Status Windows Build status Code coverage

Common workflow language testing framework

This is a testing tool for checking the output of Tools and Workflows described with the Common Workflow Language. Among other uses, it is used to run the CWL conformance tests.

This is written and tested for Python 2.7, 3.4, 3.5, 3.6, and 3.7

Install

Installing the official package from PyPi:

pip install cwltest

Or from source:

git clone https://github.com/common-workflow-language/cwltest.git
cd cwltest && python setup.py install

Run on the command line

Simple command:

cwltest --test test-descriptions.yml --tool cwl-runner

Generate conformance badges using cwltest

To make badges that show the results of the conformance test, you can generate JSON files for https://badgen.net by using –badgedir option

To generate JSON files:

cwltest --test test-descriptions.yml --tool cwl-runner --badgedir badges
...
$ cat badges/command_line_tool.json | jq .
{
  "subject": "[CWL] command_line_tool",
  "status": "100%",
  "color": "green"
}

Once you upload JSON file to a server, you make a badge by using a link like https://flat.badgen.net/https/path/to/generated/json.

Here is an example of markdown to add a badge:

![test result](https://flat.badgen.net/https/path/to/generated/json)

Metadata

Release files for cwltest 1.0.20190906212748

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

Source distribution (sdist)

Source distribution for cwltest 1.0.20190906212748
File Size Uploaded
cwltest-1.0.20190906212748.tar.gz 14.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cwltest 1.0.20190906212748
File Interpreter ABI Platform
cwltest-1.0.20190906212748-py3-none-any.whl Python 3 none any Details
cwltest-1.0.20190906212748-py2-none-any.whl Python 2 none any Details

Total release size: 54.3 kB

Release files / cwltest-1.0.20190906212748.tar.gz

Download URL cwltest-1.0.20190906212748.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7f8f7a6890ce9e43fc3e564bc7793f146145d518e07f0d9a82064e8d6fb7b4b5
BLAKE2b-256 checksum
How to use checksums
c0f771ca6de1cfb62a2863a544d2f45cf86858087d38f51647862fc1ee1e0d12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.13

Release files / cwltest-1.0.20190906212748-py3-none-any.whl

Download URL cwltest-1.0.20190906212748-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b13e4b2168f4fa5da655d3b198556cee5e5209d032dc43e17e7fd60d8e4f2eb6
BLAKE2b-256 checksum
How to use checksums
eacf39ce9029ba67dd9963828ff53d9231da6ad9fbaac45d0d32989df5ea5709
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.13

Release files / cwltest-1.0.20190906212748-py2-none-any.whl

Download URL cwltest-1.0.20190906212748-py2-none-any.whl
Size 19.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
fea35739b2a77784baf1774550de33e210591024d06e4543fe5dc73a969ddb18
BLAKE2b-256 checksum
How to use checksums
506cd07431aadcda9823132163025723ab03f3ef9923f06ae58a2edaf1e3f915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.13

Release history Release notifications | RSS feed

This release

1.0.20190906212748 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