[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/32: gnu: Add a test-less python-pytest-cases.
From: |
guix-commits |
Subject: |
12/32: gnu: Add a test-less python-pytest-cases. |
Date: |
Wed, 16 Feb 2022 11:39:35 -0500 (EST) |
nckx pushed a commit to branch wip-python-mne
in repository guix.
commit 5eed73afa458ebafb4ffa6a75bd8f049ccf785fb
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Thu Jan 20 22:34:36 2022 +0100
gnu: Add a test-less python-pytest-cases.
* gnu/packages/python-xyz.scm (python-pytest-cases-minimal): New variable.
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a8c2f47079..9b7eb717d7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25625,6 +25625,38 @@ at the end of the session, e.g. for applicative
benchmarking purposes.")
tests in pytest.")
(license license:bsd-3)))
+(define python-pytest-cases-minimal
+ (package
+ (name "python-pytest-cases-minimal")
+ (version "3.6.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-cases" version))
+ (sha256
+ (base32
+ "1g3lp4m19fk83kl2b4akwg7wqqaqlfzp4v6qcb0hq27161xyh8yl"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-decopatch-minimal python-makefun))
+ (native-inputs (list python-pytest
+ python-pytest-runner
+ python-setuptools-scm
+ python-pytest-asyncio
+ python-pytest-harvest-minimal
+ python-pytest-steps-minimal))
+ (home-page "https://github.com/smarie/python-pytest-cases")
+ (synopsis "Separate test code from test cases in @samp{pytest}")
+ (description
+ "@samp{pytest-cases} leverages @samp{pytest} and its great
+@samp{@@pytest.mark.parametrize decorator}, so that you can @strong{separate
+your test cases from your test functions}. In addition, @samp{pytest-cases}
+provides several useful goodies to empower @samp{pytest}. In particular it
+improves the fixture mechanism to support \"fixture unions\". This is a
+@strong{major change} in the internal @samp{pytest} engine, unlocking many
+possibilities such as using fixture references as parameter values in a test
+function.")
+ (license license:bsd-3)))
+
(define-public python-frozendict
(package
(name "python-frozendict")
- 13/32: gnu: Add python-decopatch., (continued)
- 13/32: gnu: Add python-decopatch., guix-commits, 2022/02/16
- 07/32: gnu: Add python-makefun., guix-commits, 2022/02/16
- 14/32: gnu: Add python-pytest-cases., guix-commits, 2022/02/16
- 27/32: gnu: vtk: Also install a .egg-info., guix-commits, 2022/02/16
- 24/32: gnu: Add python-pyvips., guix-commits, 2022/02/16
- 21/32: gnu: Add python-dipy., guix-commits, 2022/02/16
- 20/32: gnu: Add python-picard., guix-commits, 2022/02/16
- 03/32: gnu: Add python-eeglabio., guix-commits, 2022/02/16
- 16/32: gnu: Add python-pytest-steps., guix-commits, 2022/02/16
- 32/32: gnu: Add python-mne., guix-commits, 2022/02/16
- 12/32: gnu: Add a test-less python-pytest-cases.,
guix-commits <=
- 04/32: gnu: Add python-nibabel., guix-commits, 2022/02/16
- 11/32: gnu: Add a test-less python-pytest-steps., guix-commits, 2022/02/16
- 26/32: gnu: Add python-nilearn., guix-commits, 2022/02/16
- 23/32: gnu: Add python-pyperf., guix-commits, 2022/02/16
- 30/32: gnu: Add python-pyvistaqt., guix-commits, 2022/02/16
- 06/32: gnu: Add python-flake8-array-spacing., guix-commits, 2022/02/16
- 15/32: gnu: Add python-pytest-harvest., guix-commits, 2022/02/16
- 22/32: gnu: Add python-no-version., guix-commits, 2022/02/16
- 25/32: gnu: Add python-scooby., guix-commits, 2022/02/16
- 01/32: gnu: Add python-imageio-ffmpeg., guix-commits, 2022/02/16