umr-amap/StormR

Code coverage

Opened this issue · 1 comments

I installed code coverage in the workflow of GH-actions...
Of course this has to be taken cautiously, but we need more tests. You can see the report here: https://app.codecov.io/gh/umr-amap/StormR

As of mid-september 2023, code coverage is 68%.

  • Plot functions are poorly or not tested. We should check in other packages how to do a proper testing of these functions. Even if not testing all subfunctions, we should be able to test the main function with different inputs.
  • All other functions should be over 90%. This is not yet the case for defStormsDataset.R, defStormsList.R and temporalBehaviour.R