From f11d1e8b0f12b8ca164c7a7fc5c061f379c2d629 Mon Sep 17 00:00:00 2001 From: Jens Troeger Date: Mon, 18 Nov 2024 18:57:50 +1000 Subject: [PATCH] feat(test): add support for TAP (Test Anything Protocol) --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 586ec5aa..cdd8f3cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,6 +67,7 @@ test = [ "pytest-cov ==6.0.0", "pytest-doctestplus ==1.3.0", "pytest-env ==1.1.5", + "pytest-tap ==3.5.0", ] [project.urls] @@ -256,6 +257,7 @@ addopts = """-vv -ra --tb native --durations 0 \ --doctest-modules --doctest-continue-on-failure --doctest-glob '*.rst' --doctest-plus \ --suppress-no-test-exit-code \ --cov package \ + --tap --tap-log-passing-tests \ """ # Consider adding --pdb # https://docs.python.org/3/library/doctest.html#option-flags doctest_optionflags = "IGNORE_EXCEPTION_DETAIL"