-
Notifications
You must be signed in to change notification settings - Fork 50
test: Add dataframe unit test suite #1751
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
Conversation
34ae742
to
e8baa7d
Compare
@@ -0,0 +1,4481 @@ | |||
# Copyright 2023 Google LLC |
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.
Does this file contain context same as tests/system/small/test_dataframe.py
? If so, can we reduce code redundancy?
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.
Its a slightly smaller set of tests (maybe like 80% of them?) with some slightly modified validations (eg, stop counting executions). Can unify, but goal is to eventually delete the system test versions of these tests.
5fc1913
to
4c4d939
Compare
cd89fbf
to
b9c7f35
Compare
The unit-test coverage is decreased from 49% into 46% (link). Could you please investigate reasons. Some clues from the report:
I am wondering if tests in test_dataframe_polars.py and test_local_engine.py are triggered? If not, why the report does not count them? |
89fa9b1
to
3331186
Compare
if extras: | ||
if install_test_extra: | ||
if session.python in UNIT_TEST_EXTRAS_BY_PYTHON: | ||
extras = UNIT_TEST_EXTRAS_BY_PYTHON[session.python] |
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.
iiuc, this branch should be like
extras = [**UNIT_TEST_EXTRAS_BY_PYTHON[session.python], **UNIT_TEST_EXTRAS]
.
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.
eh, UNIT_TEST_EXTRAS_BY_PYTHON should just be full override like for the system verison, so added 'tests' to it in new revision now
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕