-
Notifications
You must be signed in to change notification settings - Fork 189
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
Update test files for boxscore module #500
Conversation
Hey @thomaslu2, thanks for putting this together! Looking through the updates, I don't see anything that really stands out, but I wonder if it would be good to remove the old sample HTML files alongside adding the new ones just to keep the repository clean? Otherwise, I believe all of the issues you identified have now been resolved as of the latest updates, so hopefully a rebase will clear this up and we can get this merged! Thank you again for this, it will be very helpful to have recent stats with the latest updates, and it helps that you are flagging the issues you've run into as well! 😃 |
Yeah I can remove the older html files for you. This PR is good to go once I fix the merge conflicts and whatnot. I'm still working on the test files for the other modules so keep your eyes out for that. |
This should be good to go now |
Hey @thomaslu2, once again, sorry for the delay here, it's been a crazy |
Codecov Report
@@ Coverage Diff @@
## master #500 +/- ##
=======================================
Coverage 99.97% 99.97%
=======================================
Files 55 55
Lines 13178 13178
=======================================
Hits 13175 13175
Misses 3 3 Continue to review full report at Codecov.
|
Hey @roclark, this should be good to go now. I do see that the |
Thanks @thomaslu2! If you wouldn't mind covering those lines, that would be great. It looks like the tests no longer cover the scenario where it can successfully parse the home team's record for some reason for both NBA and NCAAB, so the wins and losses default to zero. The easiest thing would probably be to create a unit test for each of these by mocking the |
f9b6b7e
to
05de405
Compare
@roclark should be good to go! |
Hey @thomaslu2, thanks for the incredible work! Everything looks really great from a content standpoint. I hate to add on one more request, but would you be able to rebase your commits into either a single commit which includes all changes, or a commit for each module (NFL, NBA, MLB, etc.)? Ideally, the commits would just be for new updates from the upstream master branch and not fixes for code that is also a part of this branch. Once things are squashed down, I'd be happy to merge this! Thanks again! |
@roclark I'm not too sure if I'm able to squash the commits since I had to pull in your changes from the master branch. This caused a merge commit to be created and it makes it harder to squash because of it. |
Apologies once again @thomaslu2 - I've been utterly slammed throughout the year, especially the second half. I agree that the squash method isn't the most elegant as-is, but I just ran through a trial on my side which worked well and I think offers a pretty clean solution. The basic flow I did was the following:
This will reduce everything down to a single commit which will contain everything, and we won't have the merge commits in the updates as well. Hope this works out. Again, I apologize for all of my delays, but really do appreciate the help here. |
05de405
to
102b8da
Compare
436f2b7
to
1f6d4d0
Compare
@roclark Sorry this is late! The holiday season was pretty hectic and I didn't get a chance to look at this until now. This should be good to go now, thanks again for the help! I will continue to update the test files for the rest of the modules. |
@thomaslu2, thank you so much!! And you are not late by any means - I'm the one who has been embarrassingly absent during the process. Thank you again for all of the great work here. This looks fantastic and I will go ahead and merge it. I really appreciate the update and putting up with my various requests. Hope you had a good new year! |
What I'll be doing in the future is create a PR for each module of test files.
I did come across some issues when modifying these files, as seen in issues #455, #498, and #499.
Let me know if you want me to go back and change something in these files!