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

The tests have a couple of useful strategies that should be generalized and published #1

Open
mulkieran opened this issue Oct 24, 2016 · 1 comment

Comments

@mulkieran
Copy link
Member

They need a bit more work before they could be placed in a separate package, though.

@mulkieran
Copy link
Member Author

Is there any advantage to caching generated constant strategies like strategies.integers(min_value=0, max_value=0xffff) in StrategyGenerator class? How "constant" are such strategies, anyway? I doubt that d-bus signatures get all that complex, so the advantage would be if the strategy were run a lot. The cost is slower loading of module, but it is probably worth the experiment.

See HypothesisWorks/hypothesis#393.

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

1 participant