diff --git a/poetry.lock b/poetry.lock index cac30e74..5a5a6e48 100644 --- a/poetry.lock +++ b/poetry.lock @@ -126,6 +126,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +[[package]] +name = "colored" +version = "1.4.3" +description = "Simple library for color and formatting to terminal" +category = "dev" +optional = false +python-versions = "*" + [[package]] name = "coverage" version = "6.3.2" @@ -498,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" @@ -782,6 +801,19 @@ python-versions = ">=3.6" [package.dependencies] sphinx = ">=2.0" +[[package]] +name = "syrupy" +version = "1.7.4" +description = "PyTest Snapshot Test Utility" +category = "dev" +optional = false +python-versions = ">=3.6,<4" + +[package.dependencies] +attrs = ">=18.2.0,<22.0.0" +colored = ">=1.3.92,<2.0.0" +pytest = ">=5.1.0,<8.0.0" + [[package]] name = "tomli" version = "2.0.1" @@ -852,7 +884,7 @@ test = [] [metadata] lock-version = "1.1" python-versions = "^3.9" -content-hash = "0ca17a688816f1762ecb8e01743955643844a5f9a7c7dd340486e47798976355" +content-hash = "c6599d239397bdbc3c6fe840e44bca1146bf831a5abad4e22f6e5a02f0e095f7" [metadata.files] alabaster = [ @@ -921,6 +953,9 @@ colorama = [ {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, ] +colored = [ + {file = "colored-1.4.3.tar.gz", hash = "sha256:b7b48b9f40e8a65bbb54813d5d79dd008dc8b8c5638d5bbfd30fc5a82e6def7a"}, +] coverage = [ {file = "coverage-6.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9b27d894748475fa858f9597c0ee1d4829f44683f3813633aaf94b19cb5453cf"}, {file = "coverage-6.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:37d1141ad6b2466a7b53a22e08fe76994c2d35a5b6b469590424a9953155afac"}, @@ -1124,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"}, @@ -1239,6 +1278,10 @@ sphinxext-rediraffe = [ {file = "sphinxext-rediraffe-0.2.7.tar.gz", hash = "sha256:651dcbfae5ffda9ffd534dfb8025f36120e5efb6ea1a33f5420023862b9f725d"}, {file = "sphinxext_rediraffe-0.2.7-py3-none-any.whl", hash = "sha256:9e430a52d4403847f4ffb3a8dd6dfc34a9fe43525305131f52ed899743a5fd8c"}, ] +syrupy = [ + {file = "syrupy-1.7.4-py3-none-any.whl", hash = "sha256:4634baba491ad93217300329e5c2d84bc38739f35e4d5790b678d06b666a2c98"}, + {file = "syrupy-1.7.4.tar.gz", hash = "sha256:54e475ef161e1531e1a81e99e2a9f88be4aaeeddf3b356b4d10fd5803c725e38"}, +] tomli = [ {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, diff --git a/pyproject.toml b/pyproject.toml index c64806e6..2fe8c849 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,9 @@ myst_parser = "~0.17.0" ### Testing ### pytest = "*" pytest-rerunfailures = "*" +pytest-tldr = "*" pytest-watcher = "^0.2.3" +syrupy = "*" ### Coverage ### codecov = "*" @@ -78,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"] +test = ["pytest", "pytest-rerunfailures", "pytest-tldr", "pytest-watcher", "syrupy"] coverage = ["codecov", "coverage", "pytest-cov"] format = ["black", "isort"] lint = ["flake8"]