Question: Galaxy Tool Unit Test
gravatar for leshin
18 months ago by
leshin0 wrote:

I tried to use the script to test a specific tool installed from toolshed. But I always got errors. For example, I would like to do the unit test on tophat2, so I issued the following command from my Galaxy installation directory:

sh ./ -id

where is the tool id from the shed_tool_conf.xml file.

The error message I got is:

OSError: No such file /home/galaxyapp/test/galaxy-dist/galaxy/

The tophat2 tool wrapper does have test part in it.

Can someone help to provide some suggestions? Thank you.

unit test • 476 views
ADD COMMENTlink written 18 months ago by leshin0
gravatar for Devon Ryan
18 months ago by
Devon Ryan1.9k
Devon Ryan1.9k wrote:

You might find planemo (e.g., planemo test /path/to/a/tool) to be a convenient method for testing. That's what's used for automated testing by the IUC.

ADD COMMENTlink written 18 months ago by Devon Ryan1.9k

Thanks for your information. I will give it a try.

ADD REPLYlink modified 17 months ago • written 17 months ago by leshin0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 153 users visited in the last hour