| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report
@@ Coverage Diff @@
## master #273 +/- ##
==========================================
- Coverage 95.42% 86.14% -9.29%
==========================================
Files 13 22 +9
Lines 1661 3781 +2120
==========================================
+ Hits 1585 3257 +1672
- Misses 76 524 +448
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
@martindurant I think it would be good to have coverage of the tests. We can pragma: no_cover things that we won't cover. |
Sorry, something went wrong.
|
Is it normal to consider tests as part of coverage? We would want to know of tests that didn't run, but it doesn't seem to be a useful metric for the package as a whole. Actually, we have two separate numbers in the report, so probably don't need a limit on both. I don't really mind though - but had better indeed mark some things we don't use. I don't know why the coverage appears to have gone down significantly. |
Sorry, something went wrong.
|
I've been trying to exclude the test chunk from the library chunk. The coverage of the tests help make certain that we are running the tests, and show if we miss some chunks of test for some reason or another. (I stole the target from matplotlib) |
Sorry, something went wrong.
|
Whilst I agree,
|
Sorry, something went wrong.
|
Sorry, something went wrong.
|
OK, so you can blanket ignore cuDF tests. It would be nice if coverage had a mechanism like pytest marks to set this automatically. |
Sorry, something went wrong.
|
please fix the merge conflict, if you have the time. |
Sorry, something went wrong.
|
I guess we can close this now, since we have #pragma no cover and also flaky markers for tests? Or are there places where we can improve? |
Sorry, something went wrong.
|
Do those cover the purpose of this PR? This PR was supposed to add an additional check to see the coverage of the test code itself. That way we could be certain that the entire test suite was being run (in case we missed anything and pieces of the tests were actually not being run) |
Sorry, something went wrong.
|
Oh, I understand now. I misunderstood the purpose of this PR then. Apologies! |
Sorry, something went wrong.
|
No problem, I should really merge master into this |
Sorry, something went wrong.
|
We no longer have any cuDF tests in streamz, though, so the coverage is back on track. And branches of execution which are not tested because of cuDF/cuStreamz-specific functionality have been marked with #pragma no cover. Maybe that should be enough? How can we check if we still need to cover tests? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.