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*: tests test param name=input1 value=TCGA-02-0001-01/ param name=input2 value=Project-TSS-Participant/ output name=output file=path to test-data

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 testhttps://wiki.galaxyproject.org/Admin/RunningTests?action=showredirect=Admin%2FRunning+Tests - Writing Functional testshttps://wiki.galaxyproject.org/Admin/Tools/Writing%20Tests Thanks, JanakiRam On Thu, Mar 27, 2014 at 2:53 PM, Janaki Rama

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. . tests test param name=input1 value=some string/ param name=input2 value=expected format/ output name=output

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=showredirect=Admin%2FRunning+Tests On Mar 27, 2014, at 7:15 AM, Janaki Rama Rao Gollapudi janakiram.gollap...@india.semanticbits.com wrote: Hi, I have added tests to tool dependency xml, but how should I

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 g...@bx.psu.edu wrote: Hello Janaki, Thanks for clarifying that you have installed your tools from a Tool Shed. In this case,