-
Notifications
You must be signed in to change notification settings - Fork 163
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
Config : support disabling failure persistence via env var #287
Config : support disabling failure persistence via env var #287
Conversation
@@ -43,7 +43,10 @@ const FORK: &str = "PROPTEST_FORK"; | |||
const TIMEOUT: &str = "PROPTEST_TIMEOUT"; | |||
#[cfg(feature = "std")] | |||
const VERBOSE: &str = "PROPTEST_VERBOSE"; | |||
#[cfg(feature = "std")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not strictly needed but noticed it was inconsistent
079ad93
to
14396dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor thing, otherwise LGTM
proptest/src/test_runner/config.rs
Outdated
/// You can disable failure persistence with the `PROPTEST_DISABLE_FAILURE_PERSISTENCE` | ||
/// environment variable but its not currently possible to set the persistence file | ||
/// with an environment variable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was recently a PR adding a comment to these saying "the env var only has an effect when the std
feature is enabled". I'm assuming that applies here? If so, should we add that warning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
14396dc
to
cd121d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good 👍
closes #276