diff options
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 1dd28d5de4..b1bc149d17 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2189,6 +2189,36 @@ rounds that are calibrated to the chosen timer.") Python code formatter \"black\".") (license license:expat))) +(define-public python-pytest-cases + (package + (name "python-pytest-cases") + (version "3.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest_cases" version)) + (sha256 + (base32 "13vzivzca36g3rbz3k3zny7jqv35vsl2z0fl32ik3j95npqq3qf4")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest-asyncio + python-pytest-bootstrap + python-pytest-harvest + python-pytest-steps + python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-decopatch + python-makefun + python-packaging)) + (home-page "https://github.com/smarie/python-pytest-cases") + (synopsis "Separate test code from test cases in pytest.") + (description + "This package provides a Pytest plugin which leverages +@code{@@pytest.mark.parametrize} decorator separating test cases from test +functions.") + (license license:bsd-3))) + (define-public python-pytest-celery (package (name "python-pytest-celery") @@ -2688,6 +2718,35 @@ times and detect flakyness.") @url{https://github.com/spulec/freezegun, freezegun}.") (license license:expat))) +(define-public python-pytest-harvest + (package + (name "python-pytest-harvest") + (version "1.10.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-harvest" version)) + (sha256 + (base32 "066lqx46hqlvllq6ppmyi47fjc1dww7jwa4wfkkx2hrf3z7s9kr7")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;XXX: cycle with python-pytest-harvest + (native-inputs + (list python-pytest-bootstrap + python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-decopatch + python-makefun + python-packaging)) + (home-page "https://github.com/smarie/python-pytest-harvest") + (synopsis "Pytest plugin to store data during runs") + (description + "This package implements a functionality to store data created during your +pytest tests execution, and retrieve it at the end of the session, e.g. for +applicative benchmarking purposes.") + (license license:bsd-3))) + (define-public python-pytest-helpers-namespace (package (name "python-pytest-helpers-namespace") @@ -3514,6 +3573,33 @@ unexpectedly.") through Python's socket interface") (license license:expat))) +(define-public python-pytest-steps + (package + (name "python-pytest-steps") + (version "1.8.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-steps" version)) + (sha256 + (base32 "05r2ch7191saj7sw6d47bfa5vnyyj157dl8hvlcc78xx6jyxy46j")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;XXX: cycles with python-pytest-harvest + (native-inputs + (list python-pytest-bootstrap + python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-makefun + python-wrapt)) + (home-page "https://github.com/smarie/python-pytest-steps") + (synopsis "Pytest plugin to create step-wise / incremental tests") + (description + "This package implements a functionality to share a state / intermediate + results across test steps.") + (license license:bsd-3))) + (define-public python-pytest-subprocess (package (name "python-pytest-subprocess") |
