-
Notifications
You must be signed in to change notification settings - Fork 158
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
Proptest logging #484
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I set up proptest for a Rust project and I'm having trouble with the length of the log when a test fails.
I was hoping to be able to gain some insight into why the minimal failing input caused a failure by inspecting its logs, but it seems like the logs of all the test's invocations during shrinking are included as well, inflating the log, and making it unwieldy.
Do you have any recommendations as to how to approach this issue? Is it possible to print the log of just the minimal failing case?
Example log: https:/recursive-record-registry/rrr/actions/runs/9931639683/job/27431772077
Source code of the failing test: https:/recursive-record-registry/rrr/blob/main/tests/test.rs#L122-L130
Thanks
The text was updated successfully, but these errors were encountered: