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

Migrate to property-based testing. #23

Open
hdevalence opened this issue Nov 27, 2019 · 1 comment
Open

Migrate to property-based testing. #23

hdevalence opened this issue Nov 27, 2019 · 1 comment

Comments

@hdevalence
Copy link

Rather than just having unit tests, I think it would be nice to have property-based testing for the library using proptest; this would allow much more detailed testing / structured fuzzing. Also, some existing unit tests could probably be replaced with property-based tests. Would you be interested in a PR that added property-based tests and refactored existing unit tests (as appropriate, obviously only the ones that are really just testing a property on a single example)?

@ebfull
Copy link
Contributor

ebfull commented Nov 27, 2019

I like property based testing and I would be okay with refactoring existing white-box tests to use it instead, when appropriate.

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

No branches or pull requests

2 participants