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

Move counterexample combinators to Test.QuickCheck.Extra #2876

Merged

Conversation

jonathanknowles
Copy link
Contributor

Issue Number

ADP-1070

Comments

This PR moves the following combinators to Test.QuickCheck.Extra:

  • report
  • verify

These are generally useful and used by a variety of test modules, so it makes sense to locate them in a shared module, rather than importing them from SelectionSpec.

This function is generally useful, as it:

    - makes it easy to add values to the output of counterexamples.
    - automatically pretty prints values.
This function is generally useful, so moving it to a common place will
make it easier to reuse.
@jonathanknowles
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Sep 8, 2021

Build succeeded:

@iohk-bors iohk-bors bot merged commit 22eca9b into master Sep 8, 2021
@iohk-bors iohk-bors bot deleted the jonathanknowles/move-combinators-to-quickcheck-extra branch September 8, 2021 08:36
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

Successfully merging this pull request may close these issues.

2 participants