Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-pytest-random-order: Add py-pytest-random-order 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.
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
PORTNAME= pytest-random-order | ||
PORTVERSION= 1.0.4 | ||
CATEGORIES= devel python | ||
MASTER_SITES= CHEESESHOP | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= Randomize the order in which pytest tests are run with some control over the randomness | ||
WWW= https://github.com/jbasko/pytest-random-order | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.0,1:devel/py-pytest@${PY_FLAVOR} | ||
|
||
USES= python:3.7+ | ||
USE_PYTHON= autoplist concurrent distutils | ||
|
||
NO_ARCH= yes | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1669057509 | ||
SHA256 (pytest-random-order-1.0.4.tar.gz) = 6b2159342a4c8c10855bc4fc6d65ee890fc614cb2b4ff688979b008a82a0ff52 | ||
SIZE (pytest-random-order-1.0.4.tar.gz) = 18045 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |