unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: nafkhamdc <navid.afkhami@mdc-berlin.de>
To: 70050@debbugs.gnu.org
Cc: nafkhamdc <navid.afkhami@mdc-berlin.de>
Subject: [bug#70050] [PATCH] gnu: Add python-pytest-testmon.
Date: Thu, 28 Mar 2024 11:04:42 +0000	[thread overview]
Message-ID: <5befb86860ce6d41fc426fd3a3d21cea789895e8.1711623882.git.navid.afkhami@mdc-berlin.de> (raw)

* gnu/packages/python-check.scm (python-pytest-testmon): New variable.

Change-Id: Ia2e6034781898c04bd766145e0352060a975d479
---
 gnu/packages/python-check.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 51a38bbcbe..4f710f13c5 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1093,6 +1093,26 @@ (define-public python-re-assert
 simpler.")
     (license license:expat)))
 
+(define-public python-pytest-testmon
+  (package
+    (name "python-pytest-testmon")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-testmon" version))
+       (sha256
+        (base32 "166snmcqv3mi0jlhshjlm5387i0gxmpm7m2cwmp3169dwhyjrglf"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:tests? #f)) ;No tests in PyPi tarball.
+    (native-inputs (list python-coverage python-pytest))
+    (home-page "https://github.com/tarpas/pytest-testmon")
+    (synopsis "Selects tests affected by changed files and methods")
+    (description
+     "This plug-in auto-selects and reruns tests impacted by recent changes.")
+    (license license:expat)))
+
 (define-public python-pytest-trio
   (package
     (name "python-pytest-trio")

base-commit: 0e8f7ee3a95011dd9ebdc99e0f3b754160524b5d
prerequisite-patch-id: d26b189d1487d0d6a234a8197c5892f1e179e5f5
prerequisite-patch-id: 3cb34404c868aab6f273aa4342ac7266fc82457f
-- 
2.34.1





             reply	other threads:[~2024-03-28 11:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28 11:04 nafkhamdc [this message]
2024-03-28 12:31 ` bug#70050: [PATCH] gnu: Add python-pytest-testmon Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5befb86860ce6d41fc426fd3a3d21cea789895e8.1711623882.git.navid.afkhami@mdc-berlin.de \
    --to=navid.afkhami@mdc-berlin.de \
    --cc=70050@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).