@@ -5,10 +5,10 @@ Testrunner
5
5
============
6
6
7
7
**cijoe ** provides a test runner implemented as a :pytest: `pytest <> ` plugin,
8
- wrapped in a **cijoe ** script named `` core.testrunner ``. The plugin is included
9
- with the **cijoe ** package, but to use it, you must ensure that :pytest: ` pytest
10
- <> ` has access to the rest of the **cijoe ** virtual environment (venv) and that
11
- the ``pytest `` command-line tool is available.
8
+ wrapped in a **cijoe ** script named :ref: ` core.testrunner < sec-packages-core-testrunner >`.
9
+ The plugin is included with the **cijoe ** package, but to use it, you must ensure
10
+ that :pytest: ` pytest <> ` has access to the rest of the **cijoe ** virtual
11
+ environment (venv) and that the ``pytest `` command-line tool is available.
12
12
13
13
This can be easily achieved by using **pipx ** to install **cijoe ** with its
14
14
dependencies:
@@ -21,8 +21,8 @@ The test runner can be used in two main ways:
21
21
22
22
1. Directly via the :pytest: `pytest <> ` command-line: ``pytest --config cijoe-config.toml ``
23
23
24
- 2. Via a **cijoe ** workflow, with a step using the `` core.testrunner ``,
25
- executed through the ``cijoe `` command-line tool.
24
+ 2. Via a **cijoe ** workflow, with a step using the :ref: ` core.testrunner
25
+ <sec-packages-core-testrunner>`, executed through the ``cijoe `` command-line tool.
26
26
27
27
While the first method may be more familiar and require no further explanation,
28
28
the test runner was specifically designed to be used within a **cijoe **
@@ -43,8 +43,8 @@ essential differences.
43
43
Usage
44
44
=====
45
45
46
- In a :ref: `workflow <sec-resources-workflows >` the `` core.testrunner `` is
47
- inserted as a step with arguments like below:
46
+ In a :ref: `workflow <sec-resources-workflows >` the :ref: ` core.testrunner
47
+ <sec-packages-core-testrunner>` is inserted as a step with arguments like below:
48
48
49
49
.. code-block :: yaml
50
50
69
69
-k " filtering" my_tests
70
70
71
71
The key difference between invoking the ``pytest `` command-line tool directly
72
- and using the **cijoe ** script `` core.testrunner `` in the ** cijoe ** workflow is
73
- that the latter integrates the **pytest ** report into ** cijoe **, producing a
74
- cohesive and standalone report.
72
+ and using the **cijoe ** script :ref: ` core.testrunner < sec-packages-core-testrunner >`
73
+ in the ** cijoe ** workflow is that the latter integrates the **pytest ** report into
74
+ ** cijoe **, producing a cohesive and standalone report.
75
75
76
76
random_order
77
77
This option **scrambles ** the order in which tests are executed. It is
0 commit comments