galaxyproject / galaxyproject/planemo
Wishlist: planemo test with XML tool file coverage
- Dominant language
- Python
- Stars
- 110
- Forks
- 102
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 13
Description
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 `` tag is probably the hardest and would need a similarly invasive approach. Likewise the `` tag.
For now I think focusing on static analysis via `planemo lint` seems most practical.
Contributor guide
Research direction
Start by reading and running the planemo lint entry point, then inspect how it handles Galaxy tool XML files. Consider the requested static-analysis direction first, including the command and configfile tags mentioned in the issue. The issue does not define a specific implementation or completion criteria, so the desired scope would need clarification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100