garbles / garbles/kitimat

Create "fuzz" helper for kitimat-jest

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
68
Forks
1
PR merge metrics
No merged PRs in 30d

Description

This function would be the "snapshot testing" of property-based tests - don't want to use much effort and just have something that does a general sanity check that the function won't throw.

```ts
import { integer } from 'kitimat-jest';

fuzz('my func doesn\'t throw', [integer()], int => myFunc(int));
```

Maybe this should also try to throw garbage and see that there is an exception if the wrong type is passed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.