dubzzz / fast-check

Property based testing framework for JavaScript (like QuickCheck) written in TypeScript
https://fast-check.dev/
MIT License
4.33k stars 180 forks source link

Any plans to introduce stateful property testing? #392

Closed anilanar closed 5 years ago

anilanar commented 5 years ago

PropER seems to be the most popular in that arena: https://propertesting.com/book_stateful_properties.html

There seem to be some quickcheck impls too: http://hackage.haskell.org/package/quickcheck-state-machine

Given that many web applications in JS/TS are adopting Elm/Redux architecture, this could be very useful.

dubzzz commented 5 years ago

It already exists - see fc.commands: https://github.com/dubzzz/fast-check/blob/master/documentation/1-Guides/Tips.md#model-based-testing-or-ui-test

dubzzz commented 5 years ago

Feel free to re-open if it does not fit your proposal