opam-version: "2.0"
maintainer: "simon.cruanes@inria.fr"
homepage: "https://github.com/c-cube/qcheck/"
doc: ["http://cedeela.fr/~simon/software/qcheck/QCheck.html"]
tags: [
  "test"
  "property"
  "quickcheck"
]
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  [make "build"]
  ["./configure" "--enable-tests"] {with-test}
  [make "test"] {with-test}
  ["./configure" "--enable-docs" "--docdir" "%{doc}%"] {with-doc}
  [make "doc"] {with-doc}
]
install: [
  [make "install"]
]
remove: [
    ["ocamlfind" "remove" "qcheck"]
]
depends: [
  "ocaml" {>= "4.00.0"}
  "ocamlfind"
  "base-bytes"
  "base-unix"
  "ounit"
  "ocamlbuild" {build}
]
dev-repo: "git+https://github.com/c-cube/qcheck.git"
bug-reports: "https://github.com/c-cube/qcheck/issues"
conflicts: [
  "ounit" { < "2.0" }
]
synopsis: "QuickCheck inspired property-based testing for OCaml."
description: """
This module allows to check invariants (properties of some types) over
randomly generated instances of the type. It provides combinators for
generating instances and printing them."""
authors: "Simon Cruanes <simon.cruanes@inria.fr>"
flags: light-uninstall
url {
  src: "https://github.com/c-cube/qcheck/archive/0.6.tar.gz"
  checksum: "md5=817a76f18bf41d59a7254f69f0803cb1"
}
