changeset 22:e49de8a4c2bf

more tests
author Michael R. Crusoe <mcrusoe@msu.edu>
date Sun, 29 Jun 2014 12:41:34 -0400
parents bc8b334e8f00
children 76446fd9f616
files abundance-dist.xml
diffstat 1 files changed, 25 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/abundance-dist.xml	Sun Jun 29 12:30:34 2014 -0400
+++ b/abundance-dist.xml	Sun Jun 29 12:41:34 2014 -0400
@@ -35,20 +35,31 @@
 				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" />
+			<param name="no_zero" value="false" />
+                    	<output name="output_histogram_filename">
+				<assert_contents>
+					<has_text text="1 96 96 0.98" />
+					<has_text text="1001 2 98 1.0" />
+				</assert_contents>
+			</output>
+		</test>
+		<test>
+                    	<param name="input_sequence_filename" value="test-abund-read-2.fa" />
+ 			<param name="input_counting_table_filename" value="test-abund-read-2.ct" />
+ 	                <param name="no_zero" value="false" />
+                    	<param name="no_bigcount" value="false" />
+                    	<output name="output_histogram_filename">
+                            	<assert_contents>
+                                    	<has_text text="1 96 96 0.98" />
+                                    	<has_text text="255 2 98 1.0" />
+                            	</assert_contents>
+                    	</output>
+            	</test>
+    	</tests>
     
     <!-- [OPTIONAL] Help displayed in Galaxy -->
     <!--