balglave / FishMap

https://balglave.github.io/FishMap/
Other
0 stars 1 forks source link

[test] As dev, I'd like to know how to improve the test coverage of the package #91

Open dagousket opened 1 year ago

dagousket commented 1 year ago

[test] As dev, I'd like to know how to improve the test coverage of the package so that all the critical steps of the model are thoroughly tested

Blocked

Some tests would require additional variables and datasets that are not included in the test data. Would it be possible to provide test data for the following objects ?

Decision

Given the number of untested parameters, we suggest that we implement as many as possible after solving the other problems raised during the recettage meeting.

More information about what we have to test

By testing each parameter and keeping the other at test values :

✅ : this parameter is now tested

🟢 : ok to run with this parameter so we can add unit tests

🟠 : need rework on the function to test so you have to rework the code before testing

🔴 : need additional data so you have to send us data

Client - Validation

Dev - Tech

balglave commented 1 year ago

We provided modifications in the branch '91-blocked-client'. Let us know if this is fine.

dagousket commented 1 year ago

Hi @balglave , we have triggered a pull request for your branch to test your modifications on the CI. The CI fails to pass and hence prevents the merge of your edits. We suggest you check locally your version with devtools::check() to fix test failures prior to merging.