@@ -34,18 +34,18 @@ pytest-workflow
3434
3535pytest-workflow is a workflow-system agnostic testing framework that aims
3636to make pipeline/workflow testing easy by using YAML files for the test
37- configuration. Whether you write your pipelines in WDL, snakemake, bash or
38- any other workflow framework, pytest-workflow makes testing easy.
37+ configuration. Whether you write your pipelines in WDL, snakemake, nextflow,
38+ bash or any other workflow framework, pytest-workflow makes testing easy.
3939pytest-workflow is build on top of the pytest test framework.
4040
41- For our complete documentation checkout our
41+ For our complete documentation and examples checkout our
4242`readthedocs page <https://pytest-workflow.readthedocs.io/ >`_.
4343
4444
4545Installation
4646============
47- Pytest-workflow requires Python 3.6 or higher. It is tested on Python 3.6, 3.7,
48- 3.8, 3.9 and 3.10. Python 2 is not supported .
47+ Pytest-workflow requires Python 3.7 or higher. It is tested on Python 3.7,
48+ 3.8, 3.9, 3.10 and 3.11 .
4949
5050- Make sure your virtual environment is activated.
5151- Install using pip ``pip install pytest-workflow ``
@@ -103,6 +103,7 @@ predefined tests as well as custom tests are possible.
103103 must_not_contain : # A list of strings that should NOT be in the file (optional)
104104 - " Cock a doodle doo"
105105 md5sum : e583af1f8b00b53cda87ae9ead880224 # Md5sum of the file (optional)
106+ encoding : UTF-8 # Encoding for the text file (optional). Defaults to system locale.
106107
107108 - name : simple echo # A second workflow. Notice the starting `-` which means
108109 command : " echo moo" # that workflow items are in a list. You can add as much workflows as you want
@@ -114,6 +115,7 @@ predefined tests as well as custom tests are possible.
114115 - " moo"
115116 must_not_contain : # List of strings that should NOT be in stout (optional)
116117 - " Cock a doodle doo"
118+ encoding : ASCII # Encoding for stdout (optional). Defaults to system locale.
117119
118120 - name : mission impossible # Also failing workflows can be tested
119121 tags : # A list of tags that can be used to select which test
@@ -130,6 +132,7 @@ predefined tests as well as custom tests are possible.
130132 - " BSOD error, please contact the IT crowd"
131133 must_not_contain : # A list of strings which should NOT be in stderr (optional)
132134 - " Mission accomplished!"
135+ encoding : UTF-16 # Encoding for stderr (optional). Defaults to system locale.
133136
134137 - name : regex tests
135138 command : echo Hello, world
@@ -143,7 +146,7 @@ predefined tests as well as custom tests are possible.
143146 - ' ^Hello .*' # Complex regexes will break yaml if double quotes are used
144147
145148 For more information on how Python parses regular expressions, see the `Python
146- documentation <https://docs.python.org/3.6 /library/re.html> `_.
149+ documentation <https://docs.python.org/3/library/re.html> `_.
147150
148151Documentation for more advanced use cases including the custom tests can be
149152found on our `readthedocs page <https://pytest-workflow.readthedocs.io/ >`_.
0 commit comments