We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Writing composite strategies is a bit of a chore. The hypothesis.strategies.from_type is great, but to customize it is a bit complex.
hypothesis.strategies.from_type
It would be great if one could generate composite strategies sourcecode from a type. (this also may be a workaround for #2876 )
The text was updated successfully, but these errors were encountered:
Can you show some examples of what you think Ghostwriter could output, and how you'd build on that?
I'd expect st.builds(T, ...) to work pretty well in most cases; you only need @st.composite if there are dependencies between arguments.
st.builds(T, ...)
@st.composite
Sorry, something went wrong.
No branches or pull requests
Writing composite strategies is a bit of a chore.
The
hypothesis.strategies.from_type
is great, but to customize it is a bit complex.It would be great if one could generate composite strategies sourcecode from a type.
(this also may be a workaround for #2876 )
The text was updated successfully, but these errors were encountered: