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:        
As galaxy using  tool_conf.xml.sample, this file has no section for my custom tool. I have added a section manually like below:

 <section name="MyTools" id="mTools">
   <tool file="myTools/barcode-parse/barcode-parse.xml" />
  </section>

Then my tool id found when I run the grep command. After that Then I run the below command to run the test cases:

sh run_functional_tests.sh -id barcode-parse

But I got below out put (from the run_functional_tests.html)


AttributeError: 'module' object has no attribute 'test_toolbox:TestForTool_barcode-parse'

Am I doing anything wrong.

Thanks,
JanakiRam


On Thu, Mar 27, 2014 at 6:16 PM, Greg Von Kuster <greg@bx.psu.edu> wrote:
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 <janakiram.gollapudi@india.semanticbits.com> wrote:

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" file="output.txt"/>
       </test>
    </tests>
......................


Thanks,
G.JanakiRam




On Thu, Mar 27, 2014 at 3:27 PM, Janaki Rama Rao Gollapudi <janakiram.gollapudi@india.semanticbits.com> wrote:
Hi,

I found below resources:
Thanks,
JanakiRam


On Thu, Mar 27, 2014 at 2:53 PM, Janaki Rama Rao Gollapudi <janakiram.gollapudi@india.semanticbits.com> wrote:
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 tool need functional, unit, integration test cases ? I am not sure about which test cases needed for this tool. 


Thanks,
JanakiRam


___________________________________________________________
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:
 http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
 http://galaxyproject.org/search/mailinglists/