-
Notifications
You must be signed in to change notification settings - Fork 4
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
RuleBasedStateMachine tests do not work and are not documented #38
Comments
Additional note, after commenting out
|
If someone is going to spend a few hours on this, we should probably add the logic necessary to support |
It was also confusing to me why my tests were being skipped, and after debugging the HypoFuzz |
It seems that tests based on RuleBasedStateMachine are not supported. I've tried to full-text search for "RuleBased" and "stateful" in hypofuzz docs but have not seen any mention this is not supported.
After some digging I've found a mention in the sources:
# Skip state-machine classes, since they're not
but it's a bit mysterious :-)
Maybe collector could print a message when in encounters unsupported case instead of silently ignoring it?
Versions tested
Steps to reproduce
Copy & paste example code from https://hypothesis.readthedocs.io/en/hypothesis-python-4.57.1/stateful.html into a file, say
test_example.py
.Run
hypothesis fuzz test_example.py
Output
Further details
With a slight modification to
hypofuzz/interface.py
we can get more verbose output. Diff:Output:
The text was updated successfully, but these errors were encountered: