1.0.0 • Published 7 years ago
the-fuzz v1.0.0
The Fuzz
A tidy wrapper for fast-check
We add ES6 importing:
// These all work:
const fuzz = require('the-fuzz');
const { fuzz } = require('the-fuzz');
import fuzz from 'the-fuzz';
import { fuzz } from 'the-fuzz';Seeds set on the CLI are available when using fuzz instead of fc.assert:
node ./myProgram --seed=23456789To not use the CLI seed, either override it:
fuzz(/* Your Fuzzing */, { seed: 12 })Or use the original assert:
fuzz.assert(/* Your Fuzzing */);All fc properties available on the fuzz object:
fuzz.property
fuzz.string
fuzz.assert
...1.0.0
7 years ago