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

Use hypothesis in the tests #239

Open
asmeurer opened this issue Sep 27, 2022 · 0 comments
Open

Use hypothesis in the tests #239

asmeurer opened this issue Sep 27, 2022 · 0 comments

Comments

@asmeurer
Copy link
Collaborator

Right now the tests in the test suite all use hard coded examples to try to hit different code paths. But the tests could be a lot more robust if they made use of hypothesis.

An easy place to start here would be the (currently very slow) reshape tests, which use a hard coded parameterization of different values, but could easily just use hypothesis strategies.

More generally, we would need to create some hypothesis strategies to represent the process of creating versions/datasets, perhaps by making use of state machine strategies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant