@@ -55,43 +55,16 @@ In a :ref:`workflow <sec-resources-workflows>` the :ref:`core.testrunner
55
55
random_order : false
56
56
run_local : false
57
57
58
- Here you see three "special" arguments to the testrunner:
59
-
60
- args
61
- These arguments are passed verbatim to **pytest **, resulting in the following
62
- invocation:
63
-
64
- .. code-block :: bash
65
-
66
- pytest \
67
- --config cijoe-config.toml \
68
- --output output \
69
- -k " filtering" my_tests
70
-
71
- The key difference between invoking the ``pytest `` command-line tool directly
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
-
76
- random_order
77
- This option **scrambles ** the order in which tests are executed. It is
78
- generally recommended, as it helps reduce inter-test dependencies and
79
- assumptions about the environment's state.
80
-
81
- run_local
82
- This option can take some time to understand fully. It controls where
83
- **pytest ** is executed.
84
-
85
- - When ``run_local: false ``, the behavior is "normal" — the
86
- **pytest ** command-line tool is executed on the **initiator **, and
87
- the :ref: `configuration-file <sec-resources-configs >` provided to the
88
- **cijoe ** command-line tool is passed verbatim to **pytest **.
89
-
90
- - When ``run_local: true ``, this behavior changes. The **pytest **
91
- command-line tool is executed on the **target ** instead. Before execution,
92
- the provided :ref: `configuration-file <sec-resources-configs >` is cloned,
93
- modified by removing the transport section, and then transferred to the
94
- **target **. Once transferred, **pytest ** is executed on the **target ** using
95
- the modified configuration file. Finally, the **pytest ** report generated on
96
- the **target ** is transferred back to the **initiator ** for integration into
97
- the **cijoe ** report.
58
+ This will result in the following invocation on the initiator:
59
+
60
+ .. code-block :: bash
61
+
62
+ pytest \
63
+ --config cijoe-config.toml \
64
+ --output output \
65
+ -k " filtering" my_tests
66
+
67
+ The key difference between invoking the ``pytest `` command-line tool directly
68
+ and using the **cijoe ** script :ref: `core.testrunner <sec-packages-core-testrunner >`
69
+ in the **cijoe ** workflow is that the latter integrates the **pytest ** report into
70
+ **cijoe **, producing a cohesive and standalone report.
0 commit comments