Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

QCheck

Free#11 of 27 in Property-Based Testing Tools

QCheck: A focused OCaml library with generators, shrinking, runners, and model-based testing. Ranked #11 of 27 in Property-Based Testing Tools by our editors (8.3/10); pricing: Free plan; best for OCaml teams.

8.3/10Editor score
QCheck8.3 Visit QCheck

At a glance

  • Editor score
    8.3 / 10
  • Pricing
    Free plan
  • Best for
    OCaml teams
  • Free plan
    Yes
  • Paid from
    Free
  • Supported languages
    OCaml
  • Facts checked
    20 Sep 2026
QCheck screenshot
  • Where it wins

    • Randomized generators with counterexample printing and shrinking
    • OUnit, Alcotest, command-line, and programmatic runner support
    • Sequential and parallel model-based testing through qcheck-stm
  • Where it doesn't

    • Supports OCaml rather than multiple programming languages
    • Requires an OCaml package or source-based setup
    • Does not include AI features

Our verdict on QCheck

QCheck is an open-source property-based testing library for OCaml teams. It provides APIs for defining randomized tests, creating built-in or custom generators, printing counterexamples, and shrinking failing cases. The project is suited to developers who want property-based testing inside an OCaml codebase, whether tests are run through QCheck’s own runners or integrated with established OCaml testing frameworks.

Its strongest area is the testing workflow around generated inputs and failures. QCheck includes integrated shrinking in QCheck2, helping reduce failing examples to more useful counterexamples. It also supports command-line and programmatic runners through QCheck_base_runner and QCheck_runner. OUnit and Alcotest integrations give teams options for fitting property-based tests into those test environments, while ppx_deriving_qcheck can automatically derive generators. These capabilities make QCheck more than a basic random-data generator: it covers test definition, failure diagnosis, execution, and framework integration.

QCheck also extends beyond stateless properties through qcheck-stm, which supports sequential and parallel model-based testing. The broader package set includes core libraries, compatibility support, framework integrations, and a preprocessor for generator derivation. QCheck is distributed as OCaml opam packages and can be built from source, so it fits teams already working within the OCaml ecosystem. It is a strong choice for OCaml projects that need shrinking, multiple runner options, and stateful testing. Teams seeking a multi-language tool, a hosted commercial product, or AI-assisted testing should choose another category fit.

Your product? Our editors can test QCheck in depth and publish a review, labelled as paid · from $99/mo →

QCheck pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

QCheck fact sheet

Free planYes
Paid fromFree
Supported languagesOCaml
Test runner supportQCheck_base_runner, QCheck_runner, OUnit, Alcotest
Failing-case shrinkingYes
Stateful testingYes
Reproducible failuresNot verified
Cases per runNot verified
SupportDocs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations2 integrations: OUnit, Alcotest
PricingFree plan
Websitegithub.com
Facts checked20 Sep 2026

QCheck integrations

QCheck lists 2 integrations on its own site.

  • OUnit
  • Alcotest

Alternatives to QCheck

See all QCheck alternatives →

Used QCheck? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used QCheck for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — QCheck 8.3/10

QCheck is listed in our Property-Based Testing Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/qcheck/"><img src="https://www.itechguides.com/best/badge/qcheck.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update