From 2c59e743733623b6a18871c1b738ba1f7453d188 Mon Sep 17 00:00:00 2001 From: Jens Troeger Date: Tue, 10 Dec 2024 14:29:03 +1000 Subject: [PATCH] feat(test): add the duration of tests to the printed test summary --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 71d93671..d44501a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -251,7 +251,7 @@ max-line-length = 120 # https://github.com/yashtodi94/pytest-custom_exit_code [tool.pytest.ini_options] minversion = "7.0" -addopts = """-vv -ra --tb native \ +addopts = """-vv -ra --tb native --durations 0 \ --hypothesis-show-statistics --hypothesis-explain --hypothesis-verbosity verbose \ --doctest-modules --doctest-continue-on-failure --doctest-glob '*.rst' --doctest-plus \ --suppress-no-test-exit-code \