Galaxy Devs, I've been following this documentation to write auto tests for my tools: https://wiki.galaxyproject.org/Admin/Tools/WritingTests?action=show&redirect=Admin%2FTools%2FWriting+Tests Straightforward enough, but I am not sure how to incorporate input parameters from data tables into this. My tools currently use as input parameters entries/files from a data table. These files were installed using a data manager. Ideally, the tests should also reference the same data table files as the tools do. How can I do this? Thanks, Jeremy Liu jeremy.liu@yale.edu
Hey Jeremy, I have just updated the planemo tool development tutorial with an answer to this question (I am trying to assemble something of a tool development FAQ at the end of that tutorial): http://planemo.readthedocs.org/en/latest/writing_standalone.html#test-index-... tl;dr - You can define such tests but they will only work with planemo at this time unfortunately. -John On Wed, Apr 15, 2015 at 12:24 AM, Jeremy Liu <jeremy.liu@yale.edu> wrote:
Galaxy Devs,
I've been following this documentation to write auto tests for my tools: https://wiki.galaxyproject.org/Admin/Tools/WritingTests?action=show&redirect=Admin%2FTools%2FWriting+Tests
Straightforward enough, but I am not sure how to incorporate input parameters from data tables into this. My tools currently use as input parameters entries/files from a data table. These files were installed using a data manager. Ideally, the tests should also reference the same data table files as the tools do. How can I do this?
Thanks, Jeremy Liu jeremy.liu@yale.edu
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
Thanks John, Jeremy, for another example see: https://github.com/peterjc/galaxy_blast/issues/53 We have working tests using *.loc files, but they are currently commented out for upload to the Tool Shed because they fail there :( As far as I know, there isn't yet a Trello issue for fixing this on the Tool Shed. Peter On Wed, Apr 15, 2015 at 3:29 PM, John Chilton <jmchilton@gmail.com> wrote:
Hey Jeremy,
I have just updated the planemo tool development tutorial with an answer to this question (I am trying to assemble something of a tool development FAQ at the end of that tutorial):
http://planemo.readthedocs.org/en/latest/writing_standalone.html#test-index-...
tl;dr - You can define such tests but they will only work with planemo at this time unfortunately.
-John
On Wed, Apr 15, 2015 at 12:24 AM, Jeremy Liu <jeremy.liu@yale.edu> wrote:
Galaxy Devs,
I've been following this documentation to write auto tests for my tools: https://wiki.galaxyproject.org/Admin/Tools/WritingTests?action=show&redirect=Admin%2FTools%2FWriting+Tests
Straightforward enough, but I am not sure how to incorporate input parameters from data tables into this. My tools currently use as input parameters entries/files from a data table. These files were installed using a data manager. Ideally, the tests should also reference the same data table files as the tools do. How can I do this?
Thanks, Jeremy Liu jeremy.liu@yale.edu
participants (3)
-
Jeremy Liu
-
John Chilton
-
Peter Cock