Commit Graph
28 Commits
Author SHA1 Message Date
John Chilton 314c54a268 Recreate run_functional_tests.sh as symbolic link to run_tests.sh.
It is deprecated and will be removed someday - but we should mention in it more explicitly in a dev news brief and give it a few releases. See also Peter's comments on https://bitbucket.org/galaxy/galaxy-central/commits/6b26b7df6924de890ee547f96f939fcd.
2014-09-09 08:29:45 -04:00
John Chilton b0c378bea4 Remove deprecated test running scripts.
- run_functional_tests.sh can be replaced with the backward compatible run_tests.sh.
 - run_unit_tests.sh can be replaced with `run_tests.sh --unit` (or just -u)
 - run_tool_shed_functional_tests.sh can be replaced with `./run_tests.sh -toolshed` (or just -t).

In each case run_tests.sh provides better documentation and superior argument parsing.
2014-09-02 11:50:43 -04:00
Dave Bouvier c70150cfa0 Add options to the shell script wrappers to run the API tests. 2014-04-30 15:43:21 -04:00
John Chilton fb0f7e6fde Rework workflow functional testing so isn't tested by default...
Meant to be used with a specific workflow, but nose is picking it up by default when no workflow has been specified.
2014-01-11 22:40:18 -06:00
Daniel Blankenberg 3db7688a56 Add Functional Testing support for locally and ToolShed installed Data Managers. 2013-12-10 12:59:29 -05:00
John Chilton c28260faf7 Functional testing of workflows (for Galaxy).
... tool shed integration will be more challenging, but this can be used for directly configured Galaxy tools and outlines a syntax that could be shared with a tool shed driven approach.

The one tricky part is how to match workflow outputs to things to check. Right now it is based on the index of the output across the workflow. This is both difficult to determine and very brittle to workflow modifications - how to proceed - require annontation string to be setup? Modify workflow data model to all assigning names to outputs the way inputs havenames? At any rate this current syntax should be considered beta and may change - if it does Galaxy will not continue to support this syntax.

To run the sample test execute the following test command:

sh run_functional_tests.sh -workflow test-data/workflows/1.xml
2013-11-21 19:17:13 -06:00
John Chilton 569c5db221 Add new option, tools, and data to functional test framework to test/demonstrate tool framework itself.
Add smaple repeat tool demonstrating some weaknesses of twill-based current framework.
2013-11-21 19:17:12 -06:00
Nate Coraor 86f25f3bcf GCC2013 Advanced Tool and Data Source Configuration workshop: "The test framework uses tool_conf.xml.sample for reasons unknown and lost to time."
Use tool_conf.xml for running functional tests, rather than tool_conf.xml.sample.
2013-06-30 10:04:58 -04:00
Dave Bouvier e34bc17457 Tool shed functional tests for complex repository dependencies, detection and setting of metadata for invalid repository dependencies. Fixes for detecting and displaying invalid repository dependencies. 2013-02-04 11:51:42 -05:00
Dave Bouvier eb10beb607 Enable running tool shed functional tests with run_functional_tests.sh. 2013-01-30 14:55:08 -05:00
Greg Von Kuster 46c597b5c3 Change new functional test flags to conform more closely to previous command line flags 2012-03-30 09:36:21 -04:00
Greg Von Kuster 816a43c2f9 Enhance the functional test framework to support testing tools contained in installed repositories that were not migrated from the Galaxy distribution. To test these tools, use: sh run_functional_tests.sh --installed 2012-03-29 15:02:36 -04:00
Greg Von Kuster 60c0bdf17b Enhance the functional test framework to support tools migrated from the distribution and installed from the tool shed. To test these tools, use: sh run_functional_tests.sh --migrated 2012-03-29 12:03:14 -04:00
Jeremy Goecks 79ba3cfa65 Remove spurious export in run functional tests scripts. 2012-01-17 09:24:37 -05:00
Ross Lazarus fa4022a09a Remove old Lmap from datatypes_conf.xml.sample - now deprecated from genetics.py
Causing buildbot to barf.
2010-03-10 20:59:11 -05:00
Nate Coraor 006716f53a Egg support overhaul, introduces a number of fixes to the ABI recognition, better build scripts, a rewrite of the eggs library and eliminition of the need for python -ES 2010-03-01 15:41:30 -05:00
Nate Coraor 1f5e079a3a python run from virtualenv sets up site.py to pull things from the real python's lib directory, so 'python -S' breaks it. To fix this, have the check_python.py script check for virtualenv and output the arguments that should be used to start python ('python -E' for virtualenv, 'python -ES' for real), then use these arguments anywhere 'python -ES' was used in the past. 2010-01-04 12:51:34 -05:00
James Taylor 2c1e959a94 New functional test harness. Update to recent nose. No longer rely on nose to manage the embedded web server (this is not done in functional_tests.py). Log page contents to a temporary file on check_page_for_string error.
[mq]: functional-test-harness
2009-10-20 13:08:29 -04:00
Ramkrishna Chakrabarty 7dafb15077 First pass of the new Galaxy forms components including requests which based on form definitions and samples. 2009-07-10 11:37:28 -04:00
Nate Coraor 7560751dc8 Separate framework and tool environments.
Whether running locally or via PBS, $PATH should now be handled in your
user's environment.

This also fixes problems like PYTHONPATH on the new blast nodes being
wrong (because they are x86_64 and the frontends are i686).

Note that you can actually start Galaxy without having an eggs dir now.
2008-04-11 20:11:21 +00:00
Jianbin He cd58c91104 add test section option 2007-10-31 19:12:00 +00:00
Greg Von Kuster 43afaf3969 Added functional tests for sniffing and metadata settings on file upload. Fixed a test in the 'Filter Maf Blocks by size' tool. Added new test data. Commited the bug fix I really wanted in Axt.sniff(). 2007-10-05 18:02:33 +00:00
Greg Von Kuster b3aa4efa6f Cleaned up functional tests, eliminating some redundant tests and unused test data files. Next step, add many missing tests. 2007-10-03 14:17:41 +00:00
Jianbin He 43a44ac9fe log single tool testing to run_functional_tests.html 2007-07-13 14:52:16 +00:00
Jianbin He 1e8c4155bf add one more option for run_functional_tests.sh: listing all the ids 2007-06-22 15:25:14 +00:00
Jianbin He a1c3641247 modify: (add) testing one tool and one case 2007-06-18 18:09:55 +00:00
James Taylor d87ee75027 Cleaning everything up (should be working as usual) 2006-11-15 16:55:17 +00:00
James Taylor f788a34fca Moving james-wsgi branch to new trunk. 2006-11-15 16:28:21 +00:00