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

Add tests #111

Closed
sir4ur0n opened this issue Apr 28, 2021 · 2 comments
Closed

Add tests #111

sir4ur0n opened this issue Apr 28, 2021 · 2 comments

Comments

@sir4ur0n
Copy link
Contributor

Ironically there aren't tests for QCheck, which makes it uncomfortable/non-trivial to test the features (mainly, generators and shrinkers).

This could be both unit tests (e.g. "Shrinking 100 towards 0 gives 0, 50, 75, etc.") and PBTs (e.g. "int_range a b only gives values between a and b").

This would also help reproducing bugs in QCheck issues

@c-cube
Copy link
Owner

c-cube commented Apr 28, 2021

Yep 😅 . That'd be useful.

@jmid
Copy link
Collaborator

jmid commented May 5, 2022

Closing as we now have a collection of expect tests and unit tests, e.g., from #234 and #237

@jmid jmid closed this as completed May 5, 2022
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

3 participants