Node.js port of the QuickCheck unit test framework
Clone or download
Latest commit 70433ca Nov 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hooks update editorconfig Nov 12, 2018
lib update editorconfig Nov 12, 2018
test update editorconfig Nov 12, 2018
.editorconfig update editorconfig Nov 20, 2018
.eslintignore eslint Feb 26, 2015
.eslintrc update editorconfig Nov 12, 2018
.gitignore gitignore.io Oct 31, 2015
.jshintignore lili Sep 6, 2014
.jshintrc update editorconfig Nov 12, 2018
.jslintrc update editorconfig Nov 12, 2018
.node-version upgrade to Node.js v6.9.1 for better support Nov 12, 2017
.npmignore fix npmignore May 1, 2015
.ruby-version update editorconfig Nov 12, 2018
Gemfile update editorconfig Nov 12, 2018
Gruntfile.js update editorconfig Nov 12, 2018
LICENSE.md aspell Aug 12, 2018
README.md upgrade to Node.js v6.9.1 for better support Nov 12, 2017
package.json update editorconfig Nov 12, 2018
sample.envrc funk Sep 6, 2017

README.md

quickcheck - Node.js port of the QuickCheck unit test framework

Now compatible with mocha!

EXAMPLES

Also see quickcheck's own self-tests:

$ grunt test
Running "exec:test" (exec) task

> quickcheck@0.0.4 test /Users/andrew/Desktop/src/node-quickcheck
> mocha



  quickcheck
    forAll
      ✓ random numbers should not all be even
      ✓ random even numbers should all be even
      ✓ random strings should not all be valid numbers
      ✓ random digits should all be valid numbers


  4 passing (8ms)


Done, without errors.

HOMEPAGE

http://www.yellosoft.us/quickcheck

NPM

https://www.npmjs.com/package/quickcheck

REQUIREMENTS

Optional

DEVELOPMENT

Test

$ grunt test

Guard can automatically run tests when the code changes:

$ bundle
$ guard
...

Lint

Keep the code tidy:

$ grunt lint

Spell Check

$ grunt aspelllint
...

Local CI

Guard can automatically lint when the code changes:

$ bundle
$ guard -G Guardfile-lint
...

Git Hooks

See hooks/.