diff data_manager/data_manager_snpEff_databases.xml @ 4:47ddc9f4d0b6

Add tests to datamanagers
author Jim Johnson <jj@umn.edu>
date Mon, 07 Oct 2013 10:59:44 -0500
parents 6ad9205c1307
children 8952990fcab9
line wrap: on
line diff
--- a/data_manager/data_manager_snpEff_databases.xml	Fri Oct 04 09:31:27 2013 -0500
+++ b/data_manager/data_manager_snpEff_databases.xml	Mon Oct 07 10:59:44 2013 -0500
@@ -15,7 +15,16 @@
           <exit_code range=":-1"  level="fatal"   description="Error: Cannot open file" />
           <exit_code range="1:"  level="fatal"   description="Error" />
         </stdio>
-
+        <tests>
+            <test>
+                <output name="out_file">
+                    <assert_contents>
+                        <!-- Check that a genome was added -->
+                        <has_text text="GRCh37.72" />
+                    </assert_contents>
+                </output>
+            </test>
+        </tests>
 	<help>
 
 This tool updatess the list of SnpEff databases for the SnpEff Download data manager.