Commit Graph
1346 Commits
Author SHA1 Message Date
mvdbeek 0f2ef4dc0c Merge branch 'release_23.1' into dev 2023-09-14 13:43:50 +02:00
mvdbeek 90c8438a83 Fix and extend extended metadata outputs to working directory tests 2023-09-12 13:07:10 +02:00
Marius van den Beek f43f350982 Merge pull request #16668 from bernt-matthias/topic/samtools-bump
Bump samtools converters
2023-09-10 10:17:26 +02:00
Matthias Bernt 8841408406 fix functional test 2023-09-09 13:19:47 +02:00
mvdbeek 33aab28217 Merge branch 'release_23.1' into dev 2023-09-08 14:43:01 +02:00
Matthias Bernt 2117385d13 fix framework test
by allowing lines_diff
2023-09-08 13:16:52 +02:00
M BerntandNicola Soranzo 3199134aa8 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-09-07 22:02:15 +02:00
Matthias Bernt 85124d8500 xsd: allow name attrbute of test collections
already supported by the framework

fixes: https://github.com/galaxyproject/galaxy/issues/16654
2023-09-07 20:16:26 +02:00
mvdbeek effd5e8ade Merge branch 'release_23.1' into dev 2023-08-24 17:03:44 +02:00
mvdbeek 3af41be3eb Merge branch 'release_23.0' into release_23.1 2023-08-24 17:03:02 +02:00
mvdbeek 90d04a017e Always create output
I think that's always been required, we just didn't test this ??
2023-08-24 10:44:41 +02:00
mvdbeek 7986110c9e Extend pulsar test cases with composite_output_tests 2023-08-24 10:44:40 +02:00
mvdbeek 61f8123b68 Test files path and extra files path 2023-08-24 10:44:40 +02:00
Laila Los c52dba0c3a add selenium test for reordering repeat blocks 2023-08-14 10:29:45 +02:00
Matthias Bernt 13b59afa67 add framework test for profile behavior of format="input"
stumbled over this here: https://github.com/galaxyproteomics/tools-galaxyp/pull/679
could not find a test
2023-07-30 18:49:55 +02:00
Marius van den Beek fa64fc646d Merge pull request #15825 from bernt-matthias/validation_metadata
Add ability to assert metadata properties on input dataset parameters
2023-07-29 12:00:32 +02:00
davelopez 2298f42ed7 Update XSD schema docs
- Remove checksum support for inputs for now
2023-06-28 12:31:42 +02:00
davelopez 49719e20cc Partially revert #15510
This solution was suboptimal as it moved around too much unnecessary data
2023-06-28 12:28:06 +02:00
Marius van den Beek 71d70a9275 Merge pull request #15483 from bernt-matthias/tests-fix
Fixes for two framework test tools
2023-06-21 22:02:22 +02:00
Marius van den Beek a68a453608 Merge pull request #15085 from bernt-matthias/topic/decompress-assertions
Decompress history data for testing assertions
2023-06-21 20:05:10 +02:00
Matthias Bernt 4a28bc3525 restructure tests and add tests for explicit container resolvers 2023-06-14 15:28:43 +01:00
Matthias Bernt 9e48ceb169 containers: do not mount /tmp/
fixes https://github.com/galaxyproject/galaxy/issues/15673

- singularity: add `--no_mount tmp` (analogous to docker's default)
- do not bind `$TMPDIR:rw,$TMP:rw,$TEMP:rw` by default
- instead (by default )provide a writable `/tmp` via
  `$_GALAXY_JOB_TMP_DIR/:/tmp:rw` note that this dir is still also
  available as `$_GALAXY_JOB_TMP_DIR:rw`
2023-06-14 15:28:38 +01:00
Matthias Bernt 0e059f854a add value_json 2023-06-06 10:02:30 +02:00
Matthias Bernt 12a4464b48 finish metadata equal validator 2023-06-06 10:02:30 +02:00
John Chilton 1f56fa37d7 WIP: metadata validation. 2023-06-06 10:02:29 +02:00
Marius van den Beek ec9f216b73 Merge pull request #15978 from mvdbeek/fix_recording_param_path
Record input datasets and collections at full parameter path
2023-06-04 17:47:51 +02:00
mvdbeek 5e0d80bd34 Test `format_source` with conditional inputs 2023-06-01 17:50:30 +02:00
mvdbeek c1a055ff2f Merge branch 'release_23.0' into dev 2023-05-25 16:36:34 +02:00
mvdbeek dca783b185 Add test tool for triggering implicit bigwig to wig converter 2023-05-24 10:54:31 +02:00
Nicola Soranzo ab99721900 Merge branch 'release_23.0' into dev 2023-05-14 14:40:28 +01:00
Helena Rasche f0b52d81a9 Add very basic tutorial mode test case 2023-05-01 21:23:01 -04:00
Tunc Kayikcioglu 7e8488e748 attribute value filter 2023-04-12 10:48:33 +00:00
Nicola Soranzo c655360e4e Merge branch 'release_23.0' into dev 2023-04-05 12:39:43 +01:00
Matthias Bernt ab9377d6c5 add test case for https://github.com/galaxyproject/tools-iuc/issues/5163 2023-03-30 11:18:43 +02:00
Matthias Bernt 2aee136511 add unit and functional tests
for decomress with assertions
2023-03-06 20:57:48 +01:00
davelopez 978de0113c Infer filename from remote location URL
When no `file` or `value` is given for test inputs or outputs.
2023-02-16 14:46:51 +01:00
davelopez 29293b8ca8 Add support for location in test outputs files 2023-02-16 14:46:51 +01:00
davelopez 9f0f124de5 Update tool tests 2023-02-16 14:46:50 +01:00
davelopez ad9640f58a Add functional tool test 2023-02-16 14:46:50 +01:00
Dannon Baker 5ac7306c91 Merge remote-tracking branch 'upstream/release_22.05' into release_23.0 2023-02-08 11:56:34 -05:00
mvdbeek 2d63389e72 Add test that verifies visible doesn't revert on job finish
It isn't exactly a regression test, for that you'd have to time the test
so that we change the visible attribute while the job is finishing.  I
think this test here is worth running independently, and I don't think
we have an explicit test like that.
2023-02-08 11:56:00 +01:00
M Bernt 8fba3bfbbb Fix indentation in cheetah 2023-02-07 18:40:33 +01:00
Marius van den Beek 15ffadeae9 Merge pull request #15491 from ElectronicBlueberry/test-run-optional-text-parameters
[23.0] Test validators for optional parameters
2023-02-06 10:44:03 +01:00
mvdbeek 706ec29add Cast None value to ""
for inferred optional text parameters, for old tools.
This maintains templating behavior for exisiting tools.
2023-02-05 20:06:08 +01:00
Matthias Bernt cb2af5e5a4 fix tool test
which probably did not work at all so far (already due to the && and the
end of the command)
2023-02-03 18:18:28 +01:00
Nicola Soranzo 30f60493c3 Format Python code with black 23.1.0
with manual fixes to 3 files to make them compatible with black 22.12.0 .

We need to keep black pinned at `<23` until we vendorise `packaging`, since
the new version of black depends on `packaging >=22.0` which is the version
where `LegacyVersion` (which we use for tool lineages) was removed.
2023-02-01 23:51:03 +00:00
Matthias Bernt f939e9d050 fix framework test
- `<output>` without value, assserttions, .. does not work
- wrong parameter names
2023-02-01 21:42:29 +01:00
Matthias Bernt e7f94384db fix framework test
loading the test tool failed with:

```
galaxy.tools ERROR 2023-02-01 21:26:03,095 [pN:main,p:50706,tN:WSGI_0] Failed to parse tool tests for tool 'expression_pick_larger_file'
Traceback (most recent call last):
  File "/home/berntm/projects/galaxy/lib/galaxy/tools/__init__.py", line 1193, in tests
    self.__tests = parse_tests(self, tests_source)
  File "/home/berntm/projects/galaxy/lib/galaxy/tools/test.py", line 31, in parse_tests
    raw_tests_dict = tests_source.parse_tests_to_dict()
  File "/home/berntm/projects/galaxy/lib/galaxy/tool_util/parser/xml.py", line 556, in parse_tests_to_dict
    tests.append(_test_elem_to_dict(test_elem, i, profile))
  File "/home/berntm/projects/galaxy/lib/galaxy/tool_util/parser/xml.py", line 602, in _test_elem_to_dict
    inputs=__parse_input_elems(test_elem, i),
  File "/home/berntm/projects/galaxy/lib/galaxy/tool_util/parser/xml.py", line 619, in __parse_input_elems
    return __parse_inputs_elems(test_elem, i)
  File "/home/berntm/projects/galaxy/lib/galaxy/tool_util/parser/xml.py", line 837, in __parse_inputs_elems
    raw_inputs.append(__parse_param_elem(param_elem, i))
  File "/home/berntm/projects/galaxy/lib/galaxy/tool_util/parser/xml.py", line 850, in __parse_param_elem
    value = json.loads(attrib["value_json"])
  File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
```
2023-02-01 21:40:48 +01:00
Dannon Baker d04fb67396 Rename samples_tool_conf to sample_tool_conf to match datatypes/data_manager naming convention 2023-01-10 10:03:23 -05:00
Gulsum Gudukbay 75d14cb636 adding test extensions for GPU 2022-12-14 11:03:34 +01:00