{"library":"testcheck","type":"library","category":null,"description":"TestCheck.js is a JavaScript library for generative property testing, drawing inspiration from QuickCheck. It empowers developers to define program properties or assumptions that should consistently hold true, subsequently testing these properties against a large number of randomly generated input cases. A significant feature of TestCheck.js is its ability to automatically shrink failing test cases, identifying and reporting the smallest possible input that causes a property to fail, which greatly aids in debugging. The package is currently at version 1.0.0-rc.2, indicating active development towards a stable 1.0.0 release. While functioning as a testing utility rather than a complete test runner, it offers seamless integration with popular JavaScript test frameworks such as AVA, Jasmine/Jest, Mocha, and Tape through dedicated plugins. It also includes comprehensive TypeScript and Flow type definitions, supporting modern, type-safe development workflows.","language":"javascript","status":"active","version":"1.0.0-rc.2","tags":["javascript","test","unit test","property test","quickcheck","doublecheck","testcheck","generative","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install testcheck","imports":["import { check } from 'testcheck';","import { gen } from 'testcheck';","import { property } from 'testcheck';","const { check, gen, property } = require('testcheck');"]},{"cmd":"yarn add testcheck","imports":[]},{"cmd":"pnpm add testcheck","imports":[]}],"homepage":"http://leebyron.com/testcheck-js","github":"https://github.com/leebyron/testcheck-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/testcheck","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/testcheck/compatibility"}}