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

Support println debugging scoped to shrunk failure case #541

Open
YourFin opened this issue Dec 20, 2024 · 1 comment
Open

Support println debugging scoped to shrunk failure case #541

YourFin opened this issue Dec 20, 2024 · 1 comment
Labels
quality-of-life This issue proposes a change that will improve the UX of proptest but isn't necessarily a "feature"

Comments

@YourFin
Copy link

YourFin commented Dec 20, 2024

Hypothesis has a nifty feature in note() function, which will log a value to the console only on the final shrunk failure case. I find note() incredibly helpful when using hypothesis, and am missing it in this library. It would be wonderful to have equivalent functionality in proptest :)

@YourFin YourFin changed the title Support println debugging for only shrunk execution Support println debugging for only shrunk failure case Dec 20, 2024
@YourFin YourFin changed the title Support println debugging for only shrunk failure case Support println debugging scoped to shrunk failure case Dec 20, 2024
@YourFin
Copy link
Author

YourFin commented Dec 26, 2024

Related: #439

@matthew-russo matthew-russo added the quality-of-life This issue proposes a change that will improve the UX of proptest but isn't necessarily a "feature" label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality-of-life This issue proposes a change that will improve the UX of proptest but isn't necessarily a "feature"
Projects
None yet
Development

No branches or pull requests

2 participants