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

No easy way to change number of tests #21

Open
kanwren opened this issue Aug 22, 2019 · 3 comments
Open

No easy way to change number of tests #21

kanwren opened this issue Aug 22, 2019 · 3 comments

Comments

@kanwren
Copy link
Contributor

kanwren commented Aug 22, 2019

Currently, there's not an easy way to change the number of tests run from the default (100). Even if you do reach in and change it manually, it doesn't change the successful test output, which as far as I know is hardcoded to "✓ passed 100 tests."

It would be nice to change the number of tests for tests where a potential failure case might be particularly rare.

@chessai
Copy link
Collaborator

chessai commented Sep 5, 2019

i'm not sure what the best way of doing this would be.

@chessai
Copy link
Collaborator

chessai commented Sep 5, 2019

i may need to implement some monad transformer on top of PropertyT IO that adds ReaderT PropertyConfig. Then variants of each of the lawsCheck functions that take in a PropertyConfig could be added. this would require a bunch of internal work, but would minimise external impact.

@chessai
Copy link
Collaborator

chessai commented Nov 2, 2019

this will actually be easier if you are using tasty-hedgehog. related to #13

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

2 participants