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

Property-based testing #2163

Open
athas opened this issue Jul 7, 2024 · 0 comments
Open

Property-based testing #2163

athas opened this issue Jul 7, 2024 · 0 comments
Labels
student-viable Viable as a student project tools

Comments

@athas
Copy link
Member

athas commented Jul 7, 2024

It is time to develop a property-based testing system for Futhark. The main challenge is that Futhark itself is not rich enough to directly implement a QuickCheck-like system, so the actual driver loop has to be external. It would still be preferable for generators (and perhaps even shrinkers) to be Futhark entry points.

Last time we tried it, we didn't have the server protocol, so we were quite limited in which kinds of values we could manipulate externally. This is no longer the case.

Perhaps we can directly piggyback on an existing Haskell library (e.g. possibly QuickCheck itself), but it must not be dependent on a Haskell compiler at run time.

@athas athas added tools student-viable Viable as a student project labels Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
student-viable Viable as a student project tools
Projects
None yet
Development

No branches or pull requests

1 participant