diff --git a/README.md b/README.md index f8f8dee..c89d857 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ The testing framework of choice is [Mocha](https://mochajs.org/). Call `npm run - Electron specific testing is done by [Spectron](https://electronjs.org/spectron) - spies, stubs and mocks are provided by [Sinon.JS](https://sinonjs.org/) - HTTP server mocking is done by [nock](https://github.com/nock/nock) +- property based testing is made possible by [fast-check](https://github.com/dubzzz/fast-check) #### Tagging diff --git a/package-lock.json b/package-lock.json index dadcf45..74346bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3920,6 +3920,16 @@ "time-stamp": "^1.0.0" } }, + "fast-check": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-1.17.0.tgz", + "integrity": "sha512-+v+Ta6yOEhM9VjmlPSS5NHRoMe9E22nockrmNZIILUiH9TLSBefxVXeY+QW8YhanheRcgyIHCeVpQ0K48zQssg==", + "dev": true, + "requires": { + "pure-rand": "^1.6.2", + "tslib": "^1.9.3" + } + }, "fast-deep-equal": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", @@ -8476,6 +8486,12 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" }, + "pure-rand": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-1.6.2.tgz", + "integrity": "sha512-HNwHOH63m7kCxe0kWEe5jSLwJiL2N83RUUN8POniFuZS+OsbFcMWlvXgxIU2nwKy2zYG2bQan40WBNK4biYPRg==", + "dev": true + }, "q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", diff --git a/package.json b/package.json index 13a2f86..49dc7d8 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "electron-rebuild": "^1.8.6", "eslint": "latest", "eslint-config-prettier": "latest", + "fast-check": "^1.17.0", "gulp": "^4.0.2", "gulp-cli": "^2.2.0", "gulp-sourcemaps": "^2.6.5",