ahudde/greeks

[test coverage] Add test coverage tool

lrnv opened this issue · 2 comments

lrnv commented

Taking a look at the length of files in your R folder, I worry that your test suite is not covering all cases...

Could you please add a test coverage Github actions workflow to the repository so that we can see clearly what is being tested or not ? It is quite easy to do, take a look there : https://covr.r-lib.org/

This tool could also be helpfull for yourself, to know which part of the code you need to construct new tests for (on one hand) and to know which part of the code you can / connot trust (on the other hand).

ahudde commented

Thank you. I worked on covr myself before, but now everyone can see the results. Solved with commit 341f43e

lrnv commented

Thanks ! I'll add a followup on testing then