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

Improved patch files for failing examples #3659

Merged
merged 2 commits into from
May 30, 2023

Conversation

Zac-HD
Copy link
Member

@Zac-HD Zac-HD commented May 27, 2023

Bugfixes and enhancements following #3631, along with the remaining features for Zac-HD/hypofuzz#13 downstream 😁

Notably we now detect and handle modules that just import hypothesis by writing @hypothesis.example(...) (CPython, you're welcome), have the ability to remove obsolete examples with known .via(...) tags (the core motivation for that method!), and skip the timestamp when computing the file hash, so that we write otherwise-identical patches to the same location instead of exploding the directory with repeated runs.

@Zac-HD Zac-HD added bug something is clearly wrong here enhancement it's not broken, but we want it to be better labels May 27, 2023
@Zac-HD Zac-HD force-pushed the patching-hooks branch 5 times, most recently from 6704da1 to d79d54f Compare May 30, 2023 17:49
@Zac-HD Zac-HD force-pushed the patching-hooks branch 3 times, most recently from e7d49e7 to 6aba054 Compare May 30, 2023 22:52
@Zac-HD Zac-HD merged commit 5bc498f into HypothesisWorks:master May 30, 2023
@Zac-HD Zac-HD deleted the patching-hooks branch May 30, 2023 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something is clearly wrong here enhancement it's not broken, but we want it to be better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant