Files
galaxy/test/functional
Daniel Blankenberg 994f2acdea Allow uploading and use of composite files in toolbox tests. Along with setting each component of a composite datatype, metadata attributes (e.g. basename in Rgenetics datatypes) can be set.
Example Tool:

<tool id='temp' name='temp test'>
    <description>test</description>
    <command>cat ${i.extra_files_path}/${i.metadata.base_name}.fam &gt; $out_file1</command>
    <inputs>
      <param name="i"  type="data" label="RGenetics genotype data from your current history" format="pbed" />
    </inputs>
   <outputs>
       <data format="text" name="out_file1" />
   </outputs>
<tests>
<test>
 <param name='i' ftype='pbed'>
    <metadata name='base_name' value='rgenetics_CHANGED' />
    <composite_data value='temp/somefile1' />
    <composite_data value='temp/somefile2' />
    <composite_data value='temp/somefile3' />
 </param>
 <output name='out_file1' file='temp/somefile3' />
 </test>
 </tests>
</tool>
2010-03-09 13:54:30 -05:00
..