IntersectMBO / IntersectMBO/ouroboros-network

Explore the possibility of using `quickcheck-dynamic`/ `quickcheck-lockstep` for state-machine testing

Open
#4,116 0 comments 0 reactions 0 assignees View on GitHub
needs-grooming
Dominant language
Haskell
Stars
296
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
4

Description

[quickcheck-dynamic](https://hackage.haskell.org/package/quickcheck-dynamic) is a recently published package that provides a framework for state-machine testing. As such, it is an alternative to [quickcheck-state-machine](https://hackage.haskell.org/package/quickcheck-state-machine). [quickcheck-lockstep](https://hackage.haskell.org/package/quickcheck-lockstep) builds on top of `quickcheck-dynamic` by providing the lockstep approach to state-machine testing that is also built into `quickcheck-state-machine`.

As we now have alternative packages for state-machine testing, we should explore whether we want to start using `quickcheck-dynamic`-based tests in consensus.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.