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 for tests #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

astrojuanlu
Copy link

A humble proposal to use Hypothesis for the tests. It will likely make them more robust, and going forward help the developers catch corner cases (like np.nan, np.inf, etc).

@stuartarchibald
Copy link
Contributor

Thanks for the PR. I think this is an interesting idea, but feel it's perhaps best placed on hold until there are some actual use cases/implementations about which the merits of such an approach can be discussed?

@astrojuanlu
Copy link
Author

Sure! I sent it even though there was only one simple test to serve as an idea and a reference, instead of coming back to the repository when there are a thousand tests and having to migrate them all :)

@esc
Copy link
Member

esc commented Sep 5, 2019

@stuartarchibald do you think it might be time to pick this up again?

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.

3 participants