From f068d051c1054d526e18a7e976fc20d89802459a Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Thu, 24 Mar 2022 20:32:00 -0500 Subject: [PATCH] build(test): pytest-tldr See also: https://github.com/freakboy3742/pytest-tldr --- poetry.lock | 17 ++++++++++++++++- pyproject.toml | 3 ++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 75067aef..5a5a6e48 100644 --- a/poetry.lock +++ b/poetry.lock @@ -506,6 +506,17 @@ python-versions = ">= 3.6" [package.dependencies] pytest = ">=5.3" +[[package]] +name = "pytest-tldr" +version = "0.2.4" +description = "A pytest plugin that limits the output to just the things you need." +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +pytest = ">=3.5.0" + [[package]] name = "pytest-watcher" version = "0.2.3" @@ -873,7 +884,7 @@ test = [] [metadata] lock-version = "1.1" python-versions = "^3.9" -content-hash = "15d5e5b18e208d0f29dc1eaed70c8a2165103f3e36f6e4ef5f0540b0280deef3" +content-hash = "c6599d239397bdbc3c6fe840e44bca1146bf831a5abad4e22f6e5a02f0e095f7" [metadata.files] alabaster = [ @@ -1148,6 +1159,10 @@ pytest-rerunfailures = [ {file = "pytest-rerunfailures-10.2.tar.gz", hash = "sha256:9e1e1bad51e07642c5bbab809fc1d4ec8eebcb7de86f90f1a26e6ef9de446697"}, {file = "pytest_rerunfailures-10.2-py3-none-any.whl", hash = "sha256:d31d8e828dfd39363ad99cd390187bf506c7a433a89f15c3126c7d16ab723fe2"}, ] +pytest-tldr = [ + {file = "pytest-tldr-0.2.4.tar.gz", hash = "sha256:764f928e9ecdc615c2b4e6f78cee3bb865c76a08c57fdf93ee5f0ee99f5f25ee"}, + {file = "pytest_tldr-0.2.4-py3-none-any.whl", hash = "sha256:f538fe13764a6ea512a0b7d1c874ba8088a5c541d885cba4096fd7593cbd2943"}, +] pytest-watcher = [ {file = "pytest-watcher-0.2.3.tar.gz", hash = "sha256:1937dd97e72caafd371d8cea7b3d70c88ff4fe35e6cdecb29c41bbdcbf1dcc2b"}, {file = "pytest_watcher-0.2.3-py3-none-any.whl", hash = "sha256:af935963399509a5b0e855740ba7227852f1a7fccfbb1cbb79fa19a445af02d2"}, diff --git a/pyproject.toml b/pyproject.toml index 030b5010..2fe8c849 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,6 +62,7 @@ myst_parser = "~0.17.0" ### Testing ### pytest = "*" pytest-rerunfailures = "*" +pytest-tldr = "*" pytest-watcher = "^0.2.3" syrupy = "*" @@ -79,7 +80,7 @@ flake8 = "*" [tool.poetry.extras] docs = ["sphinx", "sphinx-issues", "sphinx-click", "sphinx-autodoc-typehints", "sphinx-autobuild", "sphinxext-rediraffe", "sphinx-copybutton", "sphinxext-opengraph", "sphinx-inline-tabs", "myst_parser", "furo"] -test = ["pytest", "pytest-rerunfailures", "pytest-watcher", "syrupy"] +test = ["pytest", "pytest-rerunfailures", "pytest-tldr", "pytest-watcher", "syrupy"] coverage = ["codecov", "coverage", "pytest-cov"] format = ["black", "isort"] lint = ["flake8"]