I tried to use the run_tests.sh 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 ./run_tests.sh -id toolshed.g2.bx.psu.edu/repos/devteam/tophat2/tophat2/0.9
where toolshed.g2.bx.psu.edu/repos/devteam/tophat2/tophat2/0.9 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/functional.test_toolbox:TestForTool_toolshed.g2.bx.psu.edu/repos/devteam/tophat2/tophat2/0.9
The tophat2 tool wrapper does have test part in it.
Can someone help to provide some suggestions? Thank you.