Skip to content

Commit 39e6ec5

Browse files
authored
Add pyproject version of generate_report_on_test option (#957)
1 parent d8fa812 commit 39e6ec5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/user_guide.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,16 @@ Report streaming
1414

1515
In order to stream the result, basically generating the report for each finished test
1616
instead of waiting until the full run is finished, you can set the ``generate_report_on_test``
17-
ini-value:
17+
value.
18+
19+
Using `pyproject.toml` file:
20+
21+
.. code-block:: toml
22+
23+
[tool.pytest.ini_options]
24+
generate_report_on_test = true
25+
26+
or using `pytest.ini` file:
1827

1928
.. code-block:: ini
2029

0 commit comments

Comments
 (0)