-
Notifications
You must be signed in to change notification settings - Fork 124
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
Number of QuickCheck test cases is inconsistent #113
Comments
that's related to
With - , testProperty "merged marking" $ property $ do
+ , testProperty "merged marking" $ property $ again $ do I get
I'm not sure whether instance Testable prop => Testable (Gen prop) where
- property mp = MkProperty $ do p <- mp; unProperty (property p)
+ property mp = MkProperty $ do p <- mp; unProperty (again p) is the right solution on the EDIT It's run once as ping @nick8325 |
Thanks @phadej for the patch. QuickCheck has a mechanism where the user can ask a property to be tested only once (useful e.g. when you just want to check that an |
Thanks! Can you mention here when this is released to Hackage? |
Should be fixed in 2.9.2 which is out now. |
Thanks! |
@jtdaugherty reports that somewhere between QuickCheck 2.8.2 and 2.9.1 a bug (or a silent and undocumented in the Changelog change in semantics) was introduced: UnkindPartition/tasty#147
Could you look into it?
The text was updated successfully, but these errors were encountered: