guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 1a20d3c193e8723f84a3d119ae401dd608caeef9
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Feb 12 10:58:32 2026 -0500
gnu: ocaml5: Add ocaml-qtest.
* gnu/packages/ocaml5.scm (ocaml-qtest): New variable.
Change-Id: I77b397aa0ab7bc022cfc6cb729a988117f46fa34
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 91818dd7f2..141329263a 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -3068,6 +3068,30 @@ generated instances of the type. It provides
combinators for generating
instances and printing them.")
(license license:lgpl3+)))
+(define-public ocaml-qtest
+ (package
+ (name "ocaml5-qtest")
+ (version "2.11.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vincent-hugot/qtest/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04ghjshh6104xyglm0db9kv90m62qla5f4bfrlndv6dsvgw3rdjl"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-ounit ocaml-qcheck))
+ (home-page "https://github.com/vincent-hugot/qtest")
+ (synopsis "Inline (Unit) Tests for OCaml")
+ (description
+ "Qtest extracts inline unit tests written using a special
+syntax in comments. Those tests are then run using the oUnit framework and the
+qcheck library. The possibilities range from trivial tests -- extremely simple
+to use -- to sophisticated random generation of test cases.")
+ (license license:lgpl3+)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar