Implement hypothesis strategies and tests for arrays#5017
Conversation
877e8eb to
4e645e8
Compare
Remove obsolete functions and constants.
Was identical to _CUML_ARRAY_DTYPES.
fde45e9 to
5c1d5b3
Compare
|
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.
wphicks
left a comment
There was a problem hiding this comment.
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
CumlArrayand extends thetest_array.pytest module to test them and refactors existing tests to test against the strategies instead of parametrized inputs.