Commit Graph
1033 Commits
Author SHA1 Message Date
M Bernt 61e227dd85 add missing tool output 2020-01-31 15:53:32 +01:00
M Bernt 7dc87aed78 data_column use_header_names test and docs
- add a test (also as example)
- clarify in the docs
2020-01-31 13:38:36 +01:00
Dannon f94a5f5757 Merge pull request #9223 from nsoranzo/space_in_root_path
Use a Galaxy root path with a space for integration tests
2020-01-28 16:21:33 -05:00
mvdbeek 83a8e1b7eb Test that working dir is intact on resubmission 2020-01-22 10:25:16 +01:00
M Bernt 5de147a181 re-remove the data input 2020-01-22 09:37:24 +01:00
M Bernt fff8d2ec7b inputs configfile: test for filename and data_style attributes 2020-01-22 09:37:19 +01:00
Nicola Soranzo 65c1a529cc Quote paths in <command> 2020-01-17 19:59:35 +00:00
John Chilton a2d14be11f Allow testing command versions in tools - tests, XSD. 2019-12-19 17:34:31 -05:00
John Chilton 3654901144 Restricted selection text inputs for workflow inputs. 2019-12-10 13:25:17 -05:00
John Chilton 46fc861fb6 Implement mapping container resolver. 2019-12-06 10:44:34 -05:00
John Chilton 45019c3fbd Move galaxy testing utilities into more sane package structure.
Split test/base into lib/galaxy_test/base and lib/galaxy_test/driver. Dividing things on whether they import galaxy-app code or not - with the goal of a galaxy-test-base package that doesn't depend on galaxy-app and a galaxy-test-driver package that does.

I've been refactoring around this division for a long time. Certain tests (namely the integration tests) always need to bootstrap Galaxy - but the API tests and the Selenium tests should be installable and runnable without Galaxy in the Python environment. So future galaxy-test-api and galaxy-test-selenium packages should have only an optional dependency on galaxy-test-driver.

Properly sturcturing these namespaces is a precursor for real packages on PyPI, clean separation of the tool shed testing code, and cleans up all the flake8 noqa hacks in test/.
2019-11-12 09:03:06 -05:00
Martin Cech 67a3950c27 Merge branch 'release_19.09' into dev 2019-11-08 12:55:24 -05:00
Marius van den Beek 75402b4bab Merge pull request #8897 from jmchilton/it_tool_interface
[19.09] Structured access to Galaxy internals for (Interactive) Tools
2019-11-07 17:37:56 +01:00
Nicola Soranzo f779f1af31 Merge branch 'release_19.09' into dev 2019-11-07 16:01:02 +00:00
John Chilton 657764cfb4 Merge pull request #8934 from mvdbeek/dont_run_exec_after_process_if_job_failed
[19.09] Don't re-determine if job failed in exec_after_process hook
2019-11-07 08:34:33 -05:00
Nicola Soranzo fdd4cdf978 Merge branch 'release_19.09' into dev 2019-11-07 11:21:11 +00:00
Nicola Soranzo 3bd3f8f41c Merge branch 'release_19.05' into release_19.09 2019-11-07 09:54:35 +00:00
mvdbeek bb38795e75 Give test data managers distinct ids and names 2019-11-06 14:33:45 +01:00
mvdbeek 0d8311d385 Don't require legal values if conversion required
In the UI that means you can choose any value and hit execute.
Your job will still not run if that is an illegal value,
but at least you can try.
2019-11-05 18:07:08 +01:00
mvdbeek ca080eeef1 Start tool tag with param name 2019-11-05 18:03:44 +01:00
mvdbeek 6931ea733b Add test for implicit conversion in multi_data inputs 2019-11-05 14:37:07 +01:00
John Chilton 8807a8f39f Separate new inject tests into new tool. 2019-10-30 10:09:34 -04:00
John Chilton 1240ab276b Fix id convention for test interactive tools. 2019-10-30 09:59:55 -04:00
John Chilton 4ccef702be Cleanup structured IT internals access commit.
- Unit test fixes and added tests.
- Change __history_id to __history_id__ per comment from @bgruening
2019-10-30 09:59:55 -04:00
John Chilton 2e7a0720e7 Structured access to Galaxy internals for ITs. 2019-10-30 09:59:55 -04:00
Simon Bray 0753fe7d2f Update validation_default.xml 2019-10-23 13:21:20 +02:00
Simon Bray 9926ea50e1 add test, len(output_bytes) 2019-10-23 12:07:40 +02:00
will 009611cf04 add .gitattributes file and normalize line endings to use LF instead of CLRF 2019-09-18 22:03:37 -04:00
Bjoern Gruening e2792994da move default notebook as well
(cherry picked from commit 6d8848e399)
2019-09-11 10:18:08 +02:00
Bjoern Gruening ca0ae0c9b6 move ITs to tools/interactive
(cherry picked from commit 1c5bc4f55a)
2019-09-11 10:18:01 +02:00
Bjoern Gruening 6d8848e399 move default notebook as well 2019-09-06 23:05:01 +02:00
Bjoern Gruening 1c5bc4f55a move ITs to tools/interactive 2019-09-06 22:55:03 +02:00
Bjoern Gruening 924ed11fe4 standartise naming of IT test tools 2019-08-31 13:32:37 +02:00
John Chilton ad650897d6 Implement workflow invocation reports.
Implement markdown backend and frontend components as well generator plugin framework to allow customizable workflow invocation reports.

Architectural Choices on the Client

Old-style embedded objects vs components

In theory, this could make really nice use of excellent VueJS components for dataset display, dataset collection display, workflow display, etc.. These aren't available yet, we don't even really have Backbone stuff that exist very well outside history panels, so this re-uses "components" from Galaxy Pages for datasets and reuses the collection display for history panels as a stand-alone display for collections (I got this trick from DIsplayStructured.vue). This isn't ideal and I know that but at least reusing things this way will provide a path forward for migrating both pages and this new Markdown language (which could easily replace or co-exist with pages HTML someday) together seamlessly as the real modern components become available and doesn't increase the overall work needed to integrate newer style components. In fact, this might even be the impetus for creating and polishing more of these components.

markdown-it vs markdown-it-vue

I tried this with markdown-it-vue also but it added very little in terms of reducing client code, obscured entirely how to attach plugins to the markdown rendering process, and brought in many, many more extra packages that we don't need or want.

Given there is no representation of invocations in the GUI and not editor for reports config this is a bit challenging still. But here is goes:

- Source Galaxy's virtualenv.
- Login to a user and grab an API key, set in the following command:
- ``GALAXY_TEST_EXTERNAL=http://localhost:8080 GALAXY_TEST_USER_API_KEY=38175dfc69d9009992b69efcca8b209b pytest test/api/test_workflows.py::WorkflowsApiTestCase::test_workflow_invocation_report_custom``
- In the web browser go to http://localhost:8080/api/invocations and grab the latest invocation ID. Replace it in the follow query string.
- Navigate to http://localhost:8080/workflows/invocations/report?id=c887f1d0da42bdfe
2019-08-30 09:43:01 -04:00
John Chilton bd21368b27 Merge pull request #7913 from jmchilton/validation
Datatype Validation and Tool-based QC
2019-08-27 09:26:13 -04:00
Marius van den Beek 4b93b9fc0a Merge pull request #8440 from bgruening/n_lines_validation
add assert for n_lines in tool output verifications
2019-08-22 22:13:04 +02:00
John Chilton 55b384cc50 Add ability to collect QC from jobs. 2019-08-22 15:45:25 -04:00
John Chilton 5550b6b195 Merge pull request #8250 from selten/data-managers-update
Data managers - allow removal of entries
2019-08-22 11:47:57 -04:00
John Chilton 3d897b352f Merge pull request #8211 from bernt-matthias/topic/filter-static-regex
new regular expression filter, and efficient sort filter
2019-08-22 11:39:20 -04:00
Daniel Blankenberg 34ec3bfd3a FIXME note on user's API key in tool. 2019-08-20 16:38:20 -04:00
Daniel Blankenberg 725016230e Add warning on backwards compatibility of __app__ in future. 2019-08-20 16:36:29 -04:00
Daniel Blankenberg f16da013ad Set requires_domain="True" for all examples. 2019-08-20 16:30:41 -04:00
Daniel Blankenberg 00e575fa1d interactive_tool_juypter_notebook.xml -> interactive_tool_jupyter_notebook.xml 2019-08-20 16:13:30 -04:00
Peter Selten 6f9a1528f0 Merge 2019-08-20 21:22:49 +02:00
M Bernt 96db74d0f4 add tests for static_value and regexp filter 2019-08-18 16:22:06 +02:00
M Bernt 64deb4dbc0 extend test for dbkey filtering
code suggest that column names can be used, lets try
2019-08-16 17:15:44 +02:00
Bjoern Gruening 24c7c76379 remove complexity from ipython wrapper, not needed for this version 2019-08-14 09:15:09 +02:00
Anthony Bretaudeau 22edfcc11e fixes for askomics IT 2019-08-13 15:07:11 +02:00
Daniel Blankenberg 5655ace083 Fix websockets in interactive_tool_bam_iobio.xml 2019-08-12 15:41:23 -04:00
Daniel Blankenberg 29e1173f6c Add API_KEY, GALAXY_URL, and fix HISTORY_ID envars
in interactive_tool_juypter_notebook.xml
2019-08-12 12:23:38 -04:00