Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print the number of QuickCheck shrinks in the progress bar
Currently, `tasty` and `tasty-quickcheck` will print a progress percentage, so one can see test progression. However, once a property finds a failure and starts shrinking, then test progression stops. Importantly, it is not clear how the shrinker is progressing, though it would be useful information to show, e.g., to judge whether a test is shrinking too slow, whether the shrinker loops, or whether a shrunk test case hangs. This commit changes the progress bar to print the number of shrinks in case of test failures. Succesful tests will still print the progress percentage.
- Loading branch information