# leebyron/testcheck-js

Generative testing for JavaScript

Repository: https://github.com/leebyron/testcheck-js
Canonical: https://ross.abutalabs.com/products/testcheck-js
Homepage: http://leebyron.com/testcheck-js
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2023-04-15T21:24:16+00:00

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

## Adoption (not part of the score)
Stars 1172, forks 40 (observed 2026-08-28T04:03:51.689007+00:00)

## What it is
TestCheck.js is a generative (property-based) testing library for JavaScript, inspired by QuickCheck. It runs properties against many randomly generated cases and shrinks failures to the smallest failing test case, integrating with frameworks like Jest, Mocha, AVA, and Tape via plugins.

## Use cases
- property-based testing in JavaScript
- verify functions hold for many random inputs
- find minimal failing test case via shrinking
- generate random test data for tests
- add QuickCheck-style tests to Jest or Mocha

## When to choose
- you want property-based testing in a JS/Node project
- you use a test framework with an existing testcheck plugin
- you need automatic shrinking of failing cases

## When to avoid
- you need a full test runner (it's a utility, not a framework)
- you need actively developed property testing (consider fast-check instead)
- you only need example-based unit tests

## Facets
- artifact type: library
- maturity: maintenance
- function: testing, fuzzing, data-generation
- domain: testing, developer-tools
- platform: cross-platform
- tags: property-based-testing, quickcheck, generators, test-framework-agnostic, shrinking, javascript, nodejs

## Member repositories
- leebyron/testcheck-js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.689007+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:28:27.448608+00:00, confidence not recorded.
  - readme: https://github.com/leebyron/testcheck-js (fetched 2026-08-28T04:03:51.689007+00:00, sha b4d68dc855d0)
  - homepage: http://leebyron.com/testcheck-js (fetched 2026-08-29T12:33:56.529477+00:00, sha 989781dea3ec)
  - site_page: http://leebyron.com/testcheck-js/api (fetched 2026-08-29T12:33:56.538873+00:00, sha d1b187cf69fc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
