Test coverage using covr#431
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #431 +/- ##
==========================================
- Coverage 11.90% 11.21% -0.69%
==========================================
Files 8 8
Lines 294 312 +18
==========================================
Hits 35 35
- Misses 259 277 +18
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
Since this PR depends on the change done to |
Co-authored-by: Jakub Nowicki <kuba@appsilon.com>
|
Added parameters to |
…nt of box modules
|
@Johan-rosa Any comments on the covr-related functions? Message in private if necessary. |
We're using these changes and everything is working as expected. Great job! |
jakubnowicki
left a comment
There was a problem hiding this comment.
Works really well, we are almost there. Please check my comments.
There was a problem hiding this comment.
Please add missing line at the end.
There was a problem hiding this comment.
It would be good to cover two additional cases:
- Function imported with
module$function(so a more basic one). - Private function (with the second pattern from
boxguide).
I have run some manual tests, and it works, but it is important to have the test case to monitor it.
Changes
Two functions.
covr_r()covr_report()Requires
{covr} >= 3.6.5.How to use
Inside a rhino app
rhino::covr_r()to run a coverage testrhino::covr_report()to produce an HTML report