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"]
]
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" }
]
post-messages:"new release that fixes some problems with 0.5.1,
including a better handling of backtraces, safe-string awareness,
a mode for long tests, and reverting `small_int` to being an alias to `nat`.

The latter point is important for not breaking code that would use `small_int`
to pick the size of lists, strings, etc. The new `small_signed_int` can
be used instead."
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.5.2.tar.gz"
  checksum: "md5=f7c7e3c45a46bcd5b5eb2b0c93c207d6"
}
