-
Notifications
You must be signed in to change notification settings - Fork 278
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
Extend unit tests for BMP & Datasets #2060
Conversation
b561564
to
6944c61
Compare
Codecov Report
@@ Coverage Diff @@
## main #2060 +/- ##
==========================================
+ Coverage 61.48% 61.83% +0.34%
==========================================
Files 96 96
Lines 19207 19100 -107
Branches 9843 9817 -26
==========================================
Hits 11810 11810
+ Misses 5080 4995 -85
+ Partials 2317 2295 -22
Continue to review full report at Codecov.
|
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.
Had a brief look and I think this all looks good 👍
really happy to see more testing! 😊
No way to obtain nullptr DataSet* when we are checking already the 2 only existing DataSets above.
6944c61
to
a425018
Compare
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.
LGTM 👍
In this PR I am continuing with the addition of unit tests for some parts of the code that I am analysing. I try to focus on some areas of the code which were not covered by either unit tests or the python tests.
NOTE: I am also opening the PR as DRAFT so that I can check what is going wrong with the codecov reports. I'll do some modifications there aiming to get more stable results.
UPDATE: I found out that the difference between codecov (61.49%) and the local coverage reports (75.1%) is due to the different treatment of partial coverage. While locally a partial coverage is treated as a HIT, in codecov is treated as a MISS: https://docs.codecov.com/docs/frequently-asked-questions#how-is-coverage-calculated