flightsbr icon indicating copy to clipboard operation
flightsbr copied to clipboard

Improve code coverage

Open rafapereirabr opened this issue 1 year ago • 2 comments

rafapereirabr avatar Sep 16 '24 18:09 rafapereirabr

The code coverage of the package is currently at ~90%. It seems that the Github actions is working fine and that the problem is with the configuration covr to receive the results.

rafapereirabr avatar Oct 24 '24 12:10 rafapereirabr

coverage currently at 93%

flightsbr Coverage: 92.89% R/read_aircraft.R: 90.00% R/read_airport_movements.R: 90.00% R/read_airfares.R: 90.48% R/read_flights.R: 91.30% R/read_airports.R: 92.77% R/read_aircrafts.R: 100.00% R/utils.R: 100.00%

A key test that is missing is a test to check if the functions "fail gracefully" where there is no internet connection

rafapereirabr avatar Jul 26 '25 00:07 rafapereirabr