Node.js port of the QuickCheck unit test framework
JavaScript Shell Ruby
Latest commit f9e9e3c Dec 16, 2016 @mcandre committed on GitHub Merge pull request #7 from mortonfox/patch-1
Update Mocha link
Permalink
Failed to load latest commit information.
hooks git hooks: document uninstall instructions Aug 15, 2016
lib rho-contracts idioms Jan 21, 2016
test jslint Feb 25, 2015
.editorconfig fix editorconfig syntax Jan 20, 2016
.envrc.sample nodenv Nov 11, 2016
.eslintignore
.eslintrc editorconfig, eslint, jshint Mar 3, 2015
.gitignore gitignore.io Oct 31, 2015
.jshintignore lili Sep 6, 2014
.jshintrc editorconfig, eslint, jshint Mar 3, 2015
.jslintrc jslint Feb 25, 2015
.node-version replace nvm with ndenv for version hotswapping on cd Aug 19, 2016
.npmignore fix npmignore May 1, 2015
.ruby-version
Gemfile
Gruntfile.js update to node 0.11.6 for windows support Aug 18, 2016
Guardfile
Guardfile-lint regex Jan 20, 2014
README.md Update Mocha link Dec 11, 2016
package.json update to node 0.11.6 for windows support Aug 18, 2016

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/.