galaxyproject / planemo

Command-line utilities to assist in developing Galaxy and Common Workflow Language artifacts - including tools, workflows, and training materials.
https://planemo.readthedocs.io/
MIT License
89 stars 85 forks source link

Wishlist: planemo test with XML tool file coverage #529

Open peterjc opened 8 years ago

peterjc commented 8 years ago

I've been starting to take advantage of Python code coverage tools lately, which work by hooking into the Python interpreter (much like profiling tools) and record which lines in your code are actually exercised when running the test suite. This is usually summarised as a percentage score (fraction of lines of code tested, comments not counted).

It would be nice to have something similar for Galaxy tools assessing how much of the tool XML file is actually exercised in the tests. The Cheetah syntax in the <command> tag is probably the hardest and would need a similarly invasive approach. Likewise the <configfile> tag.

For now I think focusing on static analysis via planemo lint seems most practical.

hexylena commented 7 years ago

:+1: wanted this today.