-
Notifications
You must be signed in to change notification settings - Fork 915
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
[FEA] cudf_kafka: add unit tests #15841
Comments
@jameslamb Last time this topic came up we concluded not to produce I am inclined to add unit tests that are as minimal as possible for conda packages and not ship References: |
Ah!!! @bdice I didn't realize that we weren't shipping I'll modify the title and description to reflect that this is only about adding tests for the conda package.
100%, my main motivation for this was wanting a test to confirm that |
Agree with what Bradley said: yes to tests, no to wheels. |
Fixes #15841 Proposes adding a basic unit test setup for `cudf_kafka`. Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Bradley Dice (https://github.com/bdice) URL: #15853
Is your feature request related to a problem? Please describe.
As far as I can tell (please correct me if I'm wrong):
cudf_kafka
wheels are not currently tested in this project's CI.cudf_kafka
conda packages is animport cudf_kafka
run during the conda build:cudf/conda/recipes/cudf_kafka/meta.yaml
Lines 76 to 80 in 1710e11
Describe the solution you'd like
This project should test
cudf_kafka
functionality in its CI.At a minimum, a unit test that just runsimport cudf_kafka
and checks something trivial about it would provide some coverage of concerns like "is the package syntactically-valid Python for each version of Python it claims to support" and might catch issues with linking tolibcudf
.A simple tests like the ones proposed in #15245 would be sufficient to at least establish the pattern for where to add more tests.
This could look like:
python/cudf_kafka/tests
directorywheels andconda
packagesDescribe alternatives you've considered
I don't think this needs to go as far as #5571 to be valuable.
Another alternative is to just add more testing to thecudf_kafka
directly in the conda build recipe... but I think having tests on the wheels is valuable, as it'll catch different things.Additional context
Created this based on this conversation: #15245 (comment)
The text was updated successfully, but these errors were encountered: