-
Notifications
You must be signed in to change notification settings - Fork 550
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
Implement hypothesis strategies and tests for arrays #5017
Implement hypothesis strategies and tests for arrays #5017
Conversation
877e8eb
to
4e645e8
Compare
Remove obsolete functions and constants.
This is basically done, however I still want to take a moment to explore generating more arbitrary arrays – currently the strategies generate only ones exactly like the previous tests. |
rerun tests |
Requires some changes to the array tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it! Good implementation and an excellent improvement of the thoroughness of our testing generally.
@gpucibot merge |
rerun tests |
Blocked by #5051 . |
rerun tests |
Looks like this failed with inconsistent test timings. @csadorf I don't see any harm in adding |
Yes, I will make that change. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## branch-23.02 #5017 +/- ##
===============================================
Coverage ? 79.81%
===============================================
Files ? 184
Lines ? 11786
Branches ? 0
===============================================
Hits ? 9407
Misses ? 2379
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Implements hypothesis strategies for `CumlArray` and extends the `test_array.py` test module to test them and refactors existing tests to test against the strategies instead of parametrized inputs. Authors: - Carl Simon Adorf (https://github.com/csadorf) Approvers: - William Hicks (https://github.com/wphicks) URL: rapidsai#5017
Implements hypothesis strategies for
CumlArray
and extends thetest_array.py
test module to test them and refactors existing tests to test against the strategies instead of parametrized inputs.