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

✅ Check arbitraries do not cause any poisoning #3076

Merged
merged 21 commits into from
Sep 15, 2022

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Aug 18, 2022

Poisoning is easy to do by mistake. By playing with randomly generated values fast-check could asily and unwantingly clutter the global scope with unwanted poisoned values. The newly added checks make sure that, whenever tested via the arbitraries' assertions, arbitraries will not push any poison to the running code.

Category:

  • ✨ Introduce new features
  • 📝 Add or update documentation
  • ✅ Add or update tests
  • 🐛 Fix a bug
  • 🏷️ Add or update types
  • ⚡️ Improve performance
  • Other(s): ...

Potential impacts:

  • Generated values
  • Shrink values
  • Performance
  • Typings
  • Other(s): ...

Poisoning is easy to do by mistake. By playing with randomly generated values fast-check could asily and unwantingly clutter the global scope with unwanted poisoned values. The newly added checks make sure that, whenever tested via the arbitraries' assertions, arbitraries will not push any poison to the running code.
@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 18, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a61ba46:

Sandbox Source
Vanilla Configuration
@fast-check/examples Configuration

@dubzzz dubzzz merged commit 22ea8c2 into main Sep 15, 2022
@dubzzz dubzzz deleted the no-poisoning-in-arbitraries branch September 15, 2022 18:24
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.

None yet

1 participant