changeset 28:c1f0790be1c4

Tests for count-median
author Michael R. Crusoe <mcrusoe@msu.edu>
date Sun, 29 Jun 2014 16:07:06 -0400
parents e6b1ef398fc8
children e825c66d31de
files count-median.xml
diffstat 1 files changed, 13 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/count-median.xml	Sun Jun 29 13:13:15 2014 -0400
+++ b/count-median.xml	Sun Jun 29 16:07:06 2014 -0400
@@ -35,21 +35,19 @@
 		<exit_code	range="1:"
 				level="fatal" />
 	</stdio>
-    
-    <!-- [OPTIONAL] Tests to be run manually by the Galaxy admin -->
-    <tests>
-        <!-- [HELP] Test files have to be in the ~/test-data directory
-        <test>
-            <param name="input" value="input_test.tab" />
-            <param name="int"   value="10" />
-            <output name="output" file="output_test.txt" />
-	</test> -->
-        <!-- [HELP] Multiple tests can be defined with different parameters -->
-<!--
-        <test>
-        </test>
--->
-    </tests>
+
+	<tests>
+		<test>
+                        <param name="input_sequence_filename" value="test-abund-read-2.fa" />
+                        <param name="input_counting_table_filename" value="test-abund-read-2.ct" />
+                        <output name="output_summary_filename">
+                                <assert_contents>
+                                        <has_text text="seq 1001 1001.0 0.0 18" />
+                                        <has_text text="895:1:37:17593:9954/1 1 103.803741455 303.702941895 114" />
+                                </assert_contents>
+                        </output>
+		</test>
+	</tests>
     
     <!-- [OPTIONAL] Help displayed in Galaxy -->
     <!--