From nobody Fri Dec 30 09:07:52 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Njztd3Rmrz2kbrj; Fri, 30 Dec 2022 09:07:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Njztd1vvWz3qGn; Fri, 30 Dec 2022 09:07:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391273; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NH9TYESRnDKGmZaH2Of0ofBxgxBxIU1mO87lqvW+Hek=; b=a71q48jfVXgd7I189XrPIlMt+zMIfThuvqg2ZwlTNXY1EfxC9ID8uZQF7GzGdlzzlTWAcd uluToZ75sKjreqXrh+A/5pIKf6P2o4J4XCzVbmHJXJAnoHoylqviFSzhK6EwAYq9ikd5Bc /HLjOmZtHfUSQuqky39FWhTzJruCcYvMrhYOGoTHynjY5tsBcMfuRiZTgkiWxw1fwOnczy G8/lIps68qOXmBaau4QPPfbu9GuxrkYy6MuAUnTq1rx7qKwVuMEv5OR09Ms0RPw3msnnXq Dpp2hm/DMycrlT/L9Hc2pKj13JKU0elosloY13H4f1xrhHQJB4lcwEpj0shDag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391273; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NH9TYESRnDKGmZaH2Of0ofBxgxBxIU1mO87lqvW+Hek=; b=DwPeeBBjZEc/eAhrdo8hnNS/zW0xKv5Pm1bV0ohW7TFn4mEO5R/dDD5tl20aWDLzp/rm5G 7IBDUfnqN8asN30urn0B7wf/IZXPcljOqXIxoCXTbMLzxjffnB01sm5oFJ73ouOO8sLh+6 mC3dbBSpEYRgieeb0npmBWLMOFV6wEJ8M5rRWLNVEWD6yszD+e+zbKMXzs/ytIJjs5JI6S n8Q0/ujY2gmYkPqzJTBv4wT1iv2Q5wjJS1yvMS7hyAZFOyjyN8BEQ+SJVuttM5pE6fTWhg eXfGXGP+DIcEEWMCPfnUFsJJXwRgPIz4xPThrDfcIZMucphmuWPOSCZS+nsPIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672391273; a=rsa-sha256; cv=none; b=qKZFXCr5+r+Lr+l54jjSHxz6iFoAEBp/OTtwUgUw55XNR68Kg/PV00fvnMnw2PcdoHNi9K A+fKFgXNnM8ve2yfOPXgDkS3/+n1UgRzIN75Gt9yQrDgFMQBweckHSm8+maDloRHgafiLl T8p1ZD+ry0EcgAXicmfpMSn/kDEYTxdF2MTgOu8U0UiO5+VQMwqJUGRG+uqGqnDR7X2VKi Z83IVb9hYnT7wGydg5SXZYfF2MSdtPVgzVRnwbjKrPnBdWTZ4Yhs6gDtxDqesWbr8iJ+ew K0rdys6GlRtRGxaeJ00mApy3GP/5VxEhXH+xTNlil+0EIupnC9GdfMHyx9TcOA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Njztd0F9Tz12Q6; Fri, 30 Dec 2022 09:07:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BU97q9v099120; Fri, 30 Dec 2022 09:07:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BU97q11099119; Fri, 30 Dec 2022 09:07:52 GMT (envelope-from git) Date: Fri, 30 Dec 2022 09:07:52 GMT Message-Id: <202212300907.2BU97q11099119@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 6b1d91b9b97b - main - devel/py-pytest-random-order: Add py-pytest-random-order 1.0.4 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6b1d91b9b97bf9b95eb602bae918f1965b0f62c5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b1d91b9b97bf9b95eb602bae918f1965b0f62c5 commit 6b1d91b9b97bf9b95eb602bae918f1965b0f62c5 Author: Po-Chuan Hsieh AuthorDate: 2022-12-30 08:36:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-12-30 09:04:00 +0000 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. --- devel/Makefile | 1 + devel/py-pytest-random-order/Makefile | 21 +++++++++++++++++++++ devel/py-pytest-random-order/distinfo | 3 +++ devel/py-pytest-random-order/pkg-descr | 7 +++++++ 4 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index bbd0b06373d4..fff7f4bd782c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5177,6 +5177,7 @@ SUBDIR += py-pytest-profiling SUBDIR += py-pytest-pycodestyle SUBDIR += py-pytest-qt + SUBDIR += py-pytest-random-order SUBDIR += py-pytest-randomly SUBDIR += py-pytest-regressions SUBDIR += py-pytest-regtest diff --git a/devel/py-pytest-random-order/Makefile b/devel/py-pytest-random-order/Makefile new file mode 100644 index 000000000000..d4a3507b2893 --- /dev/null +++ b/devel/py-pytest-random-order/Makefile @@ -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 diff --git a/devel/py-pytest-random-order/distinfo b/devel/py-pytest-random-order/distinfo new file mode 100644 index 000000000000..53b799be027a --- /dev/null +++ b/devel/py-pytest-random-order/distinfo @@ -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 diff --git a/devel/py-pytest-random-order/pkg-descr b/devel/py-pytest-random-order/pkg-descr new file mode 100644 index 000000000000..d07822ed7d6f --- /dev/null +++ b/devel/py-pytest-random-order/pkg-descr @@ -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.