Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better quickcheck ==> #17

Open
ozgurakgun opened this issue Jun 18, 2024 · 0 comments
Open

Better quickcheck ==> #17

ozgurakgun opened this issue Jun 18, 2024 · 0 comments

Comments

@ozgurakgun
Copy link
Contributor

Haskell has a property based testing library called quickcheck, that was later reimplemented in many languages.

These libraries are (among other things) able to generate random members of algebraic datatypes. This is very useful for property based testing.

One shortcoming is the ==> operator. It's a great idea (i.e. only use values that pass a given precondition as test cases) however it's implementation is generate-and-test. We can do better.

Project is to use CP to replace the generators and the ==> operator.

Not necessarily a conjure-oxide project in the first instance. Can be implemented in Haskell/Python/Idris/Rust/whatever as a proof of concept. Integrating into mainstream langugaes would be ideal, but not it's not the first challenge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant