1. jscheck
Douglas Crockford's port of QuickCheck to JavaScript
jscheck
Package: jscheck
Created by: tristanstraub
Last modified: Sun, 19 Jun 2022 05:52:22 GMT
Version: 0.2.0
License: Public Domain
Downloads: 5,287
Repository: https://github.com/tristanstraub/JSCheck

Install

npm install jscheck
yarn add jscheck

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 http://www.JSCheck.org/.

Dependencies

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code