From 04c95fb4c8f9ba3b8a3e7fde36dea7e5f0791794 Mon Sep 17 00:00:00 2001 From: Alecto Date: Thu, 2 Oct 2025 11:18:03 +0200 Subject: [PATCH] Add pyproject version of generate_report_on_test option --- docs/user_guide.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/user_guide.rst b/docs/user_guide.rst index 691c86f2..8415bfb0 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -14,7 +14,16 @@ Report streaming In order to stream the result, basically generating the report for each finished test instead of waiting until the full run is finished, you can set the ``generate_report_on_test`` -ini-value: +value. + +Using `pyproject.toml` file: + +.. code-block:: toml + + [tool.pytest.ini_options] + generate_report_on_test = true + +or using `pytest.ini` file: .. code-block:: ini