diff html_export.xml @ 1:da900b5a0bda

Add input, test, citations parameters and test-data
author Vimalkumar Velayudhan <vimal@biotechcoder.com>
date Fri, 03 Jul 2015 12:24:49 +0100
parents 6423c038695d
children ebd2c7b56d10
line wrap: on
line diff
--- a/html_export.xml	Fri Jul 03 11:59:29 2015 +0100
+++ b/html_export.xml	Fri Jul 03 12:24:49 2015 +0100
@@ -8,9 +8,18 @@
     --html_file "${html_file}"
     --output_path "${html_file.files_path}"
     </command>
+    <inputs>
+        <param name="sample" type="text" value="a simple text input" help="Just a placeholder. This isn't required for the program to work"/>
+    </inputs>
     <outputs>
         <data format="html" name="html_file" label="Test HTML export"/>
     </outputs>
+    <tests>
+        <test>
+            <param name="sample" value="test"/>
+            <output name="html_file" file="html_export.html"/>
+        </test>
+    </tests>
     <help>
 Test HTML export with included files
 ------------------------------------
@@ -20,4 +29,5 @@
 The output will be a HTML file with link to a sample text file.
 
 </help>
-</tool>
\ No newline at end of file
+<citations />
+</tool>