pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel py-test-random-order: added version 1.0.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/808814c60bdc
branches:  trunk
changeset: 410826:808814c60bdc
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 29 21:43:02 2020 +0000

description:
py-test-random-order: added version 1.0.4

pytest-random-order is a pytest plugin that randomises the order of tests. This
can be useful to detect a test that passes just because it happens to run after
an unrelated test that leaves the system in a favourable state.

The plugin allows user to control the level of randomness they want to
introduce and to disable reordering on subsets of tests. Tests can be rerun in
a specific order by passing a seed value reported in a previous test run.

diffstat:

 devel/Makefile                      |   3 ++-
 devel/py-test-random-order/DESCR    |   7 +++++++
 devel/py-test-random-order/Makefile |  18 ++++++++++++++++++
 devel/py-test-random-order/PLIST    |  25 +++++++++++++++++++++++++
 devel/py-test-random-order/distinfo |   6 ++++++
 5 files changed, 58 insertions(+), 1 deletions(-)

diffs (89 lines):

diff -r 1745bdbf9ab0 -r 808814c60bdc devel/Makefile
--- a/devel/Makefile    Wed Jan 29 20:23:16 2020 +0000
+++ b/devel/Makefile    Wed Jan 29 21:43:02 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3038 2020/01/28 13:27:18 nia Exp $
+# $NetBSD: Makefile,v 1.3039 2020/01/29 21:43:02 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2482,6 +2482,7 @@
 SUBDIR+=       py-test-mock
 SUBDIR+=       py-test-pylint
 SUBDIR+=       py-test-pythonpath
+SUBDIR+=       py-test-random-order
 SUBDIR+=       py-test-randomly
 SUBDIR+=       py-test-relaxed
 SUBDIR+=       py-test-rerunfailures
diff -r 1745bdbf9ab0 -r 808814c60bdc devel/py-test-random-order/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-random-order/DESCR  Wed Jan 29 21:43:02 2020 +0000
@@ -0,0 +1,7 @@
+pytest-random-order is a pytest plugin that randomises the order of tests. This
+can be useful to detect a test that passes just because it happens to run after
+an unrelated test that leaves the system in a favourable state.
+
+The plugin allows user to control the level of randomness they want to
+introduce and to disable reordering on subsets of tests. Tests can be rerun in
+a specific order by passing a seed value reported in a previous test run.
diff -r 1745bdbf9ab0 -r 808814c60bdc devel/py-test-random-order/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-random-order/Makefile       Wed Jan 29 21:43:02 2020 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/01/29 21:43:02 adam Exp $
+
+DISTNAME=      pytest-random-order-1.0.4
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-random-order/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/jbasko/pytest-random-order
+COMMENT=       Randomise the order in which pytest tests are run
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1745bdbf9ab0 -r 808814c60bdc devel/py-test-random-order/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-random-order/PLIST  Wed Jan 29 21:43:02 2020 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/29 21:43:02 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/random_order/__init__.py
+${PYSITELIB}/random_order/__init__.pyc
+${PYSITELIB}/random_order/__init__.pyo
+${PYSITELIB}/random_order/bucket_types.py
+${PYSITELIB}/random_order/bucket_types.pyc
+${PYSITELIB}/random_order/bucket_types.pyo
+${PYSITELIB}/random_order/cache.py
+${PYSITELIB}/random_order/cache.pyc
+${PYSITELIB}/random_order/cache.pyo
+${PYSITELIB}/random_order/config.py
+${PYSITELIB}/random_order/config.pyc
+${PYSITELIB}/random_order/config.pyo
+${PYSITELIB}/random_order/plugin.py
+${PYSITELIB}/random_order/plugin.pyc
+${PYSITELIB}/random_order/plugin.pyo
+${PYSITELIB}/random_order/shuffler.py
+${PYSITELIB}/random_order/shuffler.pyc
+${PYSITELIB}/random_order/shuffler.pyo
diff -r 1745bdbf9ab0 -r 808814c60bdc devel/py-test-random-order/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-random-order/distinfo       Wed Jan 29 21:43:02 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/29 21:43:02 adam Exp $
+
+SHA1 (pytest-random-order-1.0.4.tar.gz) = 2210e86ad78ef333da45dc25c622dfe3cfab5bba
+RMD160 (pytest-random-order-1.0.4.tar.gz) = 02e9bbad6a7bbb31adf090dc26b607ddcf3f18f5
+SHA512 (pytest-random-order-1.0.4.tar.gz) = d9d83fe51d9b7727ef50e69eeea0041c81cebcbec73fac201ec817de8ab77cb5d043954f94efda75571a0168a227f78c1f3a4a0c380a53d3180fc7f60fd8850c
+Size (pytest-random-order-1.0.4.tar.gz) = 18045 bytes



Home | Main Index | Thread Index | Old Index