cwltest icon indicating copy to clipboard operation
cwltest copied to clipboard

Needs documentation on how to write tests

Open mr-c opened this issue 6 years ago • 5 comments

Examples: https://github.com/common-workflow-language/common-workflow-language/blob/master/v1.0/conformance_test_v1.0.yaml

https://github.com/common-workflow-language/user_guide/blob/gh-pages/_includes/cwl/conformance-test.yml

mr-c avatar Feb 27 '18 08:02 mr-c

Thanks to @dfornika for the reminder

mr-c avatar Feb 27 '18 08:02 mr-c

Are these also good examples of cwltest tests?

https://github.com/common-workflow-language/workflows/tree/master/test

dfornika avatar Feb 27 '18 21:02 dfornika

@dfornika Perhaps not, they aren't being used in that repo. Can you tell me more about your use case?

mr-c avatar Feb 28 '18 08:02 mr-c

I'm trying to learn how to build CWL pipelines. I'm building the SNVPhyl pipeline:

https://github.com/dfornika/snvphyl-commonwl

I'd like to be able to test that the tools are functioning properly. I've written a few small example jobs (in the test directory but when I saw that there is a cwltest tool, I figured it would be good to learn how to use it.

dfornika avatar Mar 02 '18 17:03 dfornika

The CONFORMANCE_TESTS.md file added as part of that last pull is certainly better than nothing. Any chance it can be linked to the official https://cwltest.readthedocs.io/?

Along with an (updated) link to the conformance_tests.yaml

martinherrerias avatar Feb 22 '24 16:02 martinherrerias