From 894237545f9541df710dbb2211e9a42cfb23adf1 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 174ee02e..8e7c7fc0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,6 +66,7 @@ test = [ "pytest-cov ==5.0.0", "pytest-doctestplus ==1.2.1", "pytest-env ==1.1.3", + "pytest-tap ==3.4.0", ] [project.urls] @@ -254,6 +255,7 @@ addopts = """-vv -ra --tb native \ --doctest-modules --doctest-continue-on-failure --doctest-glob '*.rst' --doctest-plus \ --suppress-no-test-exit-code \ --cov package \ + --tap \ """ # Consider adding --pdb # https://docs.python.org/3/library/doctest.html#option-flags doctest_optionflags = "IGNORE_EXCEPTION_DETAIL"