Skip to content

Commit a066afb

Browse files
committed
Add description of expect_num_outputs to planemo FAQ.
1 parent 5297060 commit a066afb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/writing_how_do_i.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,18 @@ to the ``test`` element.
249249

250250
- `job_properties.xml <https://github.com/galaxyproject/galaxy/blob/dev/test/functional/tools/job_properties.xml>`__
251251

252+
------------------------------------------
253+
\.\.\. test output filters work?
254+
------------------------------------------
255+
256+
If your tool contains ``filter`` elements, you can't verify properties of outputs
257+
that are filtered out and do not exist. The ``test`` element may contain an
258+
``expect_num_outputs`` attribute to specify the expected number of outputs, this
259+
can be used to verify that outputs not listed are expected to be filtered out during
260+
tool execution.
261+
262+
- `output_filter.xml <https://github.com/galaxyproject/galaxy/blob/dev/test/functional/tools/output_filter.xml>`__
263+
252264
------------------------------------------
253265
\.\.\. test metadata?
254266
------------------------------------------

0 commit comments

Comments
 (0)