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

allow env vars to override non-default config #318

Merged

Conversation

tzemanovic
Copy link
Contributor

@tzemanovic tzemanovic commented Apr 18, 2023

fixes #315

When using a non-default config or partially overriding the default config, the proptest! macro now allows to override config fields set from env vars, which gives the flexibility of being able to choose them without rebuilding.

Copy link
Member

@matthew-russo matthew-russo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm but lets update the Changelog as well

Copy link
Collaborator

@rex-remind101 rex-remind101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rex-remind101 rex-remind101 merged commit b88e9ff into proptest-rs:master May 22, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow to override explicit proptest_config from env vars
3 participants