An open API service indexing awesome lists of open source software.

https://github.com/shfrmn/tap-fast-check

Property testing for Tap using fast-check
https://github.com/shfrmn/tap-fast-check

assert fast-check property-based-testing property-testing tap test testing

Last synced: 5 months ago
JSON representation

Property testing for Tap using fast-check

Awesome Lists containing this project

README

          

# tap-fast-check

Property testing for Tap using fast-check

```typescript
import {t, fc} from "tap-fast-check"

t.test("String.indexOf()", async (t) => {
t.prop(
fc.property(fc.string(), (text) => {
return text.indexOf(text) >= 0
}),
"Always contains itself",
)
})
```