-
Notifications
You must be signed in to change notification settings - Fork 25
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
test diamonds: reduce needless converters #205
test diamonds: reduce needless converters #205
Conversation
GitHub: red-data-toolsGH-188 Because date_time is not included in the following csvs. * diamonds.csv (diamonds dataset inherits from `Ggplot2Dataset`) * mpg.csv (fuel economy dataset inherits from `Ggplot2Dataset`) Before this change: ```console $ time ruby test/run-test.rb -t DiamondsTest --verbose=important-only Finished in 3.702616 seconds. 2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications real 0m4.665s user 0m4.136s sys 0m0.226s ``` After this change: ```console $ time ruby test/run-test.rb -t DiamondsTest --verbose=important-only Finished in 3.367821 seconds. 2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications real 0m4.179s user 0m3.738s sys 0m0.202s ``` After this change, the fuel economy dataset test also passed: ```console $ ruby test/run-test.rb -t FuelEconomyTest --verbose=important-only Finished in 0.017332 seconds. 2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications ```
There are more datasets in ggplot2: https://ggplot2.tidyverse.org/reference/#data Could you check whether all datasets don't have a date_time field or not? |
Sure! I'll check the following unavailable datasets. Thanks!
|
Ah, OK. Let's use this change. Let's add more converters again when we add support for other datasets and they need more converters. |
Thanks for your review!
OK. I see. |
By the way, Could I add the unavailable datasets to the Issues? |
Yes, please. |
Sure! |
GitHub: GH-188
Because date_time is not included in the following csvs.
Ggplot2Dataset
)Ggplot2Dataset
)Before this change:
After this change:
After this change, the fuel economy dataset test also passed: