Files
galaxy/test/functional/tools/output_order.xml
T
John Chilton 8c54c91ab9 Allow outputs in tool functional tests to be specified in any order when using API interactor.
Outputs must specify name and must be specified in the same order with the Twill variant. This second restriction is entirely arbitrary using API so dropping it here.

Adding tool demonstrating this functionality (test/functional/tools/output_order.xml) which fails with twill interactor but works fine with API interactor.
2013-11-21 19:17:13 -06:00

26 lines
671 B
XML

<tool id="output_order" name="output_order" version="0.1.0">
<command>echo $pa > $output_a; echo $pb > $output_b</command>
<inputs>
<param name="pa" type="integer" value="1" />
<param name="pb" type="integer" value="2" />
</inputs>
<outputs>
<data format="txt" name="output_a" />
<data format="txt" name="output_b" />
</outputs>
<tests>
<test>
<output name="output_b">
<assert_contents>
<has_line line="2" />
</assert_contents>
</output>
<output name="output_a">
<assert_contents>
<has_line line="1" />
</assert_contents>
</output>
</test>
</tests>
</tool>