opam-version: "2.0"
maintainer: "Vincent Hugot <vincent.hugot@gmail.com>"
authors: [
  "Vincent Hugot <vincent.hugot@gmail.com>"
  "Simon Cruanes <simon.cruanes.2007@m4x.org"
]
homepage: "https://github.com/vincent-hugot/iTeML"
bug-reports: "https://github.com/vincent-hugot/iTeML/issues"
doc:
  "https://github.com/vincent-hugot/iTeML/blob/master/README.adoc#introduction"
tags: ["test" "property" "quickcheck"]
dev-repo: "git+ssh://git@github.com/vincent-hugot/iTeML.git"
build: [make "build"]
install: [make "BIN=%{bin}%" "install"]
remove: [
  ["rm" "%{bin}%/qtest"]
]
depends: [
  "ocaml" {>= "4.00.0" & < "4.06.0"}
  "ocamlfind"
  "ounit" {>= "2.0.0"}
  "ocamlbuild" {build}
  "qcheck" {>= "0.5"}
]
post-messages:
  "Version similar to 2.4, except it uses qcheck as an external library
  instead of embedding it. There should be no other difference.

  To use it, still call `qtest` on your .ml/.mli files to extract tests,
  then compile the resulting suite using oUnit and qcheck.
  "
synopsis: "iTeML / qtest : 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."""
flags: light-uninstall
extra-files: ["qtest.install" "md5=36d87746d47b206cbf45ab88dc199b8c"]
url {
  src: "https://github.com/vincent-hugot/iTeML/archive/v2.5.tar.gz"
  checksum: "md5=5b29036ab1bd180d72a2c609f4186c67"
}
