common-workflow-language / cwltest

Framework for testing CWL tools and workflows
Apache License 2.0
17 stars 17 forks source link

Needs documentation on how to write tests #61

Open mr-c opened 6 years ago

mr-c commented 6 years ago

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 commented 6 years ago

Thanks to @dfornika for the reminder

dfornika commented 6 years ago

Are these also good examples of cwltest tests?

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

mr-c commented 6 years ago

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

dfornika commented 6 years ago

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.

martinherrerias commented 4 months ago

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