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
- Host: GitHub
- URL: https://github.com/shfrmn/tap-fast-check
- Owner: shfrmn
- License: mit
- Created: 2023-09-11T03:18:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-11T06:23:48.000Z (almost 3 years ago)
- Last Synced: 2024-01-27T19:04:56.567Z (over 2 years ago)
- Topics: assert, fast-check, property-based-testing, property-testing, tap, test, testing
- Language: TypeScript
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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",
)
})
```