NAL-i5K / Organism_Onboarding

A workflow to make organism onboarding pipeline easy to handle as an I/O pipeline
4 stars 1 forks source link

Unit testing #58

Closed r06942072 closed 5 years ago

r06942072 commented 5 years ago

Writing many unitest functions for every single blocks

Ref: https://github.com/common-workflow-language/cwltest

pip install cwltest https://pypi.org/project/cwltest/

unittest and pytest module https://docs.python-guide.org/writing/tests/

cwltest https://github.com/common-workflow-language/cwltest

r06942072 commented 5 years ago
r06942072 commented 5 years ago

[Unit testing frameworks in python] unittest: in the python std library nose: not in std library pytest: not in std library

But this is testing for .py file, and I wonder if there is a way to test all the .cwl file.