-
Notifications
You must be signed in to change notification settings - Fork 110
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
Implement --quickcheck-timeout for individual tests within a property #425
Conversation
…ed for additional escape sequence" This reverts commit b152a0b. In fact, unless in Emacs, \r is not sufficient to clear the whole line.
Looks great! Just ran it on a toy project |
@@ -29,7 +29,7 @@ library | |||
other-extensions: GeneralizedNewtypeDeriving, DeriveDataTypeable | |||
build-depends: base >= 4.8 && < 5, | |||
tagged < 0.9, | |||
tasty >= 1.5 && < 1.6, | |||
tasty >= 1.5.1 && < 1.6, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change does what I need, thanks!
... but
The tasty-1.5.1
on Hackage has base <0
revision made.
If I use both core
and quickcheck
from the repo, then cabal-install
finds an install plan.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's expected, I'll release tasty-1.5.1.1
(or 1.5.2
) soon.
Version 0.11.1 -------------- * Add timeouts for individual tests within a property ([#425](UnkindPartition/tasty#425)). * Define `showDefaultValue` for `QuickCheckTests`, `QuickCheckMaxSize` and `QuickCheckMaxRatio` ([#428](UnkindPartition/tasty#428)). * Print the number of QuickCheck shrinks in the progress message ([#431](UnkindPartition/tasty#431)). * Drop support for GHC 7.10. Version 0.11 -------------- * Fix issues with QuickCheck progress reporting in the presence of `withMaxSuccess` ([#419](UnkindPartition/tasty#419)). * Produce seeds that run a single failing tests instead of reproducing all the earlier successes ([#410](UnkindPartition/tasty#410)). Seeds are now pairs instead of single integers, e.g. `--quickcheck-replay="(SMGen 2909028190965759779 12330386376379709109,0)"` Single integer seeds are still accepted as input, but they do run through earlier successes. The `QuickCheckReplay` type used as a tasty option has three data constructors now. `QuickCheckReplayNone` is the default value and provides no seed. `QuickCheckReplayLegacy` takes an integer as before. The `QuickCheckReplay` data constructor takes the new seed form.
Presumably closes #359 and #424.
@phadej @brandonchinn178 could you please give it a try?