aphalo / photobiology

Package ‘photobiology’ defines a system of classes for storing spectral data and accompanying methods and operators. This is the core of a suite of R packages for photobiological calculations.
4 stars 1 forks source link

Implement test code coverage reporting #20

Open aphalo opened 1 year ago

aphalo commented 1 year ago

This will help ensure that tests cover most of the code. The current approx. 5000 unit tests do not necessarily ensure full coverage.

aphalo commented 1 year ago

Attempts to get this working failed. Will try again later when I find time.

aphalo commented 3 months ago

Test coverage is still low at 49% and needs to be improved. Of course, reporting is a different issue, but computing covera with RStudio's add-on makes it possible to find what code is covered by tests and what code needs new unit tests.