Hi , I wrote a functional test for my galaxy tool. While running the functional tests it shows the following error message. Failure: ValueError (No such test TestForTool_gentool) ... ERROR ====================================================================== ERROR: Failure: ValueError (No such test TestForTool_gentool) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/myhome/galaxy-0/eggs/py2.5-noplatform/nose-0.11.1-py2.5.egg/nose/failure.py", line 39, in runTest raise self.exc_class(self.exc_val) ValueError: No such test TestForTool_gentool ---------------------------------------------------------------------- Ran 1 test in 0.002s FAILED (errors=1)
From exception I can find that there is no test case for gentool. But I have one test case for the same.
and here is my test which I wrote. <tests> <test> <param name="source" value="history" /> <param name="fasta_input" value="tair9_chr4.fas" ftype="fasta" /> <output name="output" file="tair9_chr4.gio" /> </test> </tests> Many thanks in advance, Vipin T S
Vipin TS wrote:
I wrote a functional test for my galaxy tool. While running the functional tests it shows the following error message.
Failure: ValueError (No such test TestForTool_gentool) ... ERROR
====================================================================== ERROR: Failure: ValueError (No such test TestForTool_gentool) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/myhome/galaxy-0/eggs/py2.5-noplatform/nose-0.11.1-py2.5.egg/nose/failure.py", line 39, in runTest raise self.exc_class(self.exc_val) ValueError: No such test TestForTool_gentool
Hi Vipin, Does 'gentool' match the id in the <tool> tag? What command are you using to run the tests? Does the tool successfully load during server startup? Thanks, --nate
Hello Vipin, Assuming you executed your functional test like this: sh run._functional_tests.sh -id gentool you may need to update your instance as this use of functional tests was briefly broken but has been corrected. Let us know if this is not the case. On Nov 16, 2009, at 10:48 AM, Nate Coraor wrote:
Vipin TS wrote:
I wrote a functional test for my galaxy tool. While running the functional tests it shows the following error message. Failure: ValueError (No such test TestForTool_gentool) ... ERROR ===================================================================== = ERROR: Failure: ValueError (No such test TestForTool_gentool) --------------------------------------------------------------------- - Traceback (most recent call last): File "/home/myhome/galaxy-0/eggs/py2.5-noplatform/nose-0.11.1- py2.5.egg/nose/failure.py", line 39, in runTest raise self.exc_class(self.exc_val) ValueError: No such test TestForTool_gentool
Hi Vipin,
Does 'gentool' match the id in the <tool> tag? What command are you using to run the tests? Does the tool successfully load during server startup?
Thanks, --nate _______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
Greg Von Kuster Galaxy Development Team greg@bx.psu.edu
Hi Greg, Yes. I am running the test in same manner. I am wondering that for few of the tools I wrote functional tests and they are fine. Vipin T S
Do you have the tool referenced in tool_conf.xml.sample as well as the tool_conf.xml file? The test framework uses the .sample file. Dan Vipin TS wrote:
Hi Greg,
Yes. I am running the test in same manner.
I am wondering that for few of the tools I wrote functional tests and they are fine.
Vipin T S
------------------------------------------------------------------------
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
Hi Daniel, Thank you Daniel. Thanks for the information. I am sorry, forgot to reference the tool name in tool_conf.xml.sample file. Now I edited the file and it is working smoothly. Thanks to Nate and Greg. Vipin T S
participants (4)
-
Daniel Blankenberg
-
Greg Von Kuster
-
Nate Coraor
-
Vipin TS