dib-lab / elvers

(formerly eelpond) an automated RNA-Seq workflow system
https://dib-lab.github.io/elvers/
Other
28 stars 3 forks source link

Add eelpond tests/ directory #75

Closed charlesreid1 closed 5 years ago

charlesreid1 commented 5 years ago

This adds individual unit tests for each of eelpond's flags.

Not all of these flag unit tests are implemented yet, but the --dag and --dagfile and --dagpng flags are added/tested, as are the --help and --dry-run flags, to demonstrate how to do it.

This PR will modify PR #73 (Further improvements to DAG handling). I made it a separate pull request so it would be easier to review separately from the changes made in #73.

charlesreid1 commented 5 years ago

This PR is ready to go - I added placeholders for most tests, and may add a few in, but core functionality is done.

To run the tests you can run the command pytest -v from the repository and it will run all the tests. Also added this command to the .travis.yml so you'll see output from pytest in the travis test of this pull request here.

Happy to answer any questions you have and/or discuss over Slack!

ctb commented 5 years ago

Hi @charlesreid1 this looks great thank you!!

Some thoughts (not criticisms!) --