[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 24/96] gnu: Add ocaml-alcotest
From: |
Julien Lepiller |
Subject: |
[PATCH 24/96] gnu: Add ocaml-alcotest |
Date: |
Tue, 3 Jan 2017 20:11:05 +0100 |
* gnu/packages/ocaml.scm (ocaml-alcotest): New variable.
---
gnu/packages/ocaml.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index bf308f1a7..93092cfb1 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1207,3 +1207,34 @@ removes deprecated and rarely used functions, alters
some signatures and names,
adds a few missing functions and fully exploits OCaml's newfound string
immutability.")
(license license:isc)))
+
+(define-public ocaml-alcotest
+ (package
+ (name "ocaml-alcotest")
+ (version "0.7.2")
+ (home-page "https://github.com/mirage/alcotest/")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append home-page "releases/download/" version
+ "/alcotest-" version ".tbz"))
+ (sha256
+ (base32
+ "0g5lzk0gpfx4q8hyhr460gr4lab5wakfxsmhfwvb3yinxwzs95gc"))))
+ (build-system ocaml-build-system)
+ (arguments `(#:tests? #f
+ #:build-flags (list "build")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (native-inputs `(("opam" ,opam)
+ ("topkg" ,ocaml-topkg)))
+ (propagated-inputs `(("fmt" ,ocaml-fmt)
+ ("astring" ,ocaml-astring)))
+ (synopsis "Lightweight OCaml test framework")
+ (description "Alcotest exposes simple interface to perform unit tests. It
+exposes a simple TESTABLE module type, a check function to assert test
+predicates and a run function to perform a list of unit -> unit test callbacks.
+Alcotest provides a quiet and colorful output where only faulty runs are fully
+displayed at the end of the run (with the full logs ready to inspect), with a
+simple (yet expressive) query language to select the tests to run.")
+ (license license:isc)))
--
2.11.0
- [PATCH 14/96] gnu: Add ocaml-stringext, (continued)
- [PATCH 14/96] gnu: Add ocaml-stringext, Julien Lepiller, 2017/01/03
- [PATCH 15/96] gnu: Add ocaml-bisect, Julien Lepiller, 2017/01/03
- [PATCH 17/96] gnu: Add ocaml-result, Julien Lepiller, 2017/01/03
- [PATCH 16/96] gnu: Add ocaml-bitstring, Julien Lepiller, 2017/01/03
- [PATCH 18/96] gnu: Add ocaml-topkg, Julien Lepiller, 2017/01/03
- [PATCH 19/96] gnu: Add ocaml-rresult, Julien Lepiller, 2017/01/03
- [PATCH 20/96] gnu: Add ocaml-mtime, Julien Lepiller, 2017/01/03
- [PATCH 21/96] gnu: Add ocaml-cmdliner, Julien Lepiller, 2017/01/03
- [PATCH 22/96] gnu: Add ocaml-fmt, Julien Lepiller, 2017/01/03
- [PATCH 23/96] gnu: Add ocaml-astring, Julien Lepiller, 2017/01/03
- [PATCH 24/96] gnu: Add ocaml-alcotest,
Julien Lepiller <=
- [PATCH 25/96] gnu: Add ocaml-ppx-tools, Julien Lepiller, 2017/01/03
- [PATCH 26/96] gnu: Add ocaml-react, Julien Lepiller, 2017/01/03
- [PATCH 27/96] gnu: Add ocaml-ssl, Julien Lepiller, 2017/01/03
- [PATCH 28/96] gnu: Add ocaml-lwt, Julien Lepiller, 2017/01/03
- [PATCH 29/96] gnu: Add ocaml-logs, Julien Lepiller, 2017/01/03
- [PATCH 30/96] gnu: Add ocaml-fpath, Julien Lepiller, 2017/01/03
- [PATCH 31/96] gnu: Add ocaml-bos, Julien Lepiller, 2017/01/03
- [PATCH 32/96] gnu: Add ocaml-xmlm, Julien Lepiller, 2017/01/03
- [PATCH 33/96] gnu: Add ocaml-ulex, Julien Lepiller, 2017/01/03
- [PATCH 34/96] gnu: Add ocaml-uchar, Julien Lepiller, 2017/01/03