[galaxy-dev] How to write test cases for custom tool

2014-03-27 Thread Janaki Rama Rao Gollapudi
Hi, I have implemented a custom tool which will parse a given string in to expected format. Installed this custom tool into galaxy and was able to run successfully. I would like to add test cases to this tool, can you please provide me resources to write test cases for this custom tool. Is this

Re: [galaxy-dev] How to write test cases for custom tool

2014-03-27 Thread Janaki Rama Rao Gollapudi
Hi, I found below resources: - Running test - Writing Functional tests Thanks, JanakiRam On Thu, Mar 27, 2014 at 2:53 PM, Janaki Ra

Re: [galaxy-dev] How to write test cases for custom tool

2014-03-27 Thread Janaki Rama Rao Gollapudi
Hi, I have added tests to tool dependency xml, but how should I run these tests, can you please help me to run test cases. . .. Thanks, G.JanakiRam On Thu, Mar 27, 2014 at 3:27 PM, Janaki Rama Rao G

Re: [galaxy-dev] How to write test cases for custom tool

2014-03-27 Thread Greg Von Kuster
As Janaki replied below, see: http://wiki.galaxyproject.org/Admin/RunningTests?action=show&redirect=Admin%2FRunning+Tests On Mar 27, 2014, at 7:15 AM, Janaki Rama Rao Gollapudi wrote: > Hi, > > I have added tests to tool dependency xml, but how should I run these tests, > can you please help

Re: [galaxy-dev] How to write test cases for custom tool

2014-03-27 Thread Janaki Rama Rao Gollapudi
Hi, Thanks for reply. I composed a details email for better clarity. when run grep command in galaxy home folder ( ./run_functional_tests.sh -list | grep barcode-parse), I got no results. What I did was: - Implemented a custom tool (It has one python script and tool definition file. These

Re: [galaxy-dev] How to write test cases for custom tool

2014-03-27 Thread Greg Von Kuster
Hello Janaki, Thanks for clarifying that you have installed your tools from a Tool Shed. In this case, functional tests do not use Galaxy's tool_conf.xml.sample, so changing it will make no difference. For information about running functional tests on tools installed from the Tool Shed, see:

Re: [galaxy-dev] How to write test cases for custom tool

2014-03-27 Thread Janaki Rama Rao Gollapudi
Thank you, I will go through the resources and will reply my results to this email chain. Thanks, JanakiRam On Thu, Mar 27, 2014 at 6:39 PM, Greg Von Kuster wrote: > Hello Janaki, > > Thanks for clarifying that you have installed your tools from a Tool Shed. > In this case, functional tests d

Re: [galaxy-dev] How to write test cases for custom tool

2014-03-28 Thread Janaki Rama Rao Gollapudi
Hi, I have modified the tool dependency xml file by adding Absolute path to output file, like below, then my test cases are *passing*: Thanks for all your help. Thanks, JanakiRam On Fri, Mar 28, 2014 at 2:39 PM, Janaki Rama Rao Gollapudi < janakiram.gollap...@india.