# emil-e/rapidcheck

QuickCheck clone for C++ with the goal of being simple to use with as little boilerplate as possible.

Repository: https://github.com/emil-e/rapidcheck
Canonical: https://ross.abutalabs.com/products/rapidcheck
Language: C++
License: BSD-2-Clause
License Family: permissive
Last push: 2026-08-06T08:52:07+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 4500, "days_push": 27, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1103, forks 189 (observed 2026-08-28T04:03:36.162258+00:00)

## What it is
RapidCheck is a C++ framework for property based testing inspired by QuickCheck. It generates random test data to verify stated properties, shrinks failing cases to minimal counterexamples, and integrates with testing frameworks like Google Test and Boost Test.

## Use cases
- property based testing in C++
- generate random test data for unit tests
- shrink failing test cases to minimal counterexamples
- test STL containers and algorithms with random inputs
- stateful testing of command-driven systems
- integrate property testing with Google Test or Boost Test

## When to choose
- you want QuickCheck-style property testing in C++ with minimal boilerplate
- you need automatic test case shrinking for failing properties
- your project uses CMake and C++11
- you want generators and combinators for STL types like maps and sets

## When to avoid
- you need example-based unit testing rather than property-based testing
- your codebase must support pre-C++11 compilers
- you need property testing in a language other than C++

## Facets
- artifact type: library
- maturity: stable
- function: testing, fuzzing
- domain: testing, developer-tools
- platform: cpp, cross-platform, windows
- tags: property-based-testing, quickcheck, test-case-shrinking, random-test-data, gtest-integration, boost-test, linux, macos

## Member repositories
- emil-e/rapidcheck (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:36.162258+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:45:32.278791+00:00, confidence not recorded.
  - readme: https://github.com/emil-e/rapidcheck (fetched 2026-08-28T04:03:36.162258+00:00, sha b28d68cea49a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
