Skip to content
Projects

douglascrockford/JSCheck has 609 GitHub stars and 62 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 16:34 UTC. Last push 2024-11-22.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

A random property testing tool for JavaScript

Developer Tools

README.md

Original

jscheck.js Douglas Crockford 2012-04-24

Public Domain

JSCheck is a testing tool for JavaScript. It was inspired by QuickCheck, a testing tool for Haskell developed by Koen Claessen and John Hughes of Chalmers University of Technology.

JSCheck is a specification-driven testing tool. From a description of the properties of a system, function, or object, it will generate random test cases attempting to prove those properties, and then report its findings. That can be especially effective in managing the evolution of a program because it can show the conformance of new code to old code. It also provides an interesting level of self-documentation, because the executable specifications it relies on can provide a good view of the workings of a program.

All of JSCheck can be loaded from a small file called jscheck.js.

The source is available at https://github.com/douglascrockford/JSCheck. The documentation is available at https://www.crockford.com/jscheck.html.