Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Node.js port of the QuickCheck unit test framework
JavaScript Shell Ruby
Branch: master

Merge pull request #5 from bkaes/patch-1

Use MAX_SAFE_INTEGER instead of MAX_VALUE
latest commit 4425d54216
@mcandre authored
Failed to load latest commit information.
hooks hooks
lib Use MAX_SAFE_INTEGER instead of MAX_VALUE
test jslint
.editorconfig update editorconfig
.eslintignore eslint
.eslintrc editorconfig, eslint, jshint
.gitignore move code to lib/
.jshintignore lili
.jshintrc editorconfig, eslint, jshint
.jslintrc jslint
.npmignore fix npmignore
Gemfile lili
Gruntfile.js npm idioms
Guardfile guard test
Guardfile-lint regex
README.md editorconfig, eslint, jshint
package.json editorconfig, eslint, jshint

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

Something went wrong with that request. Please try again.