Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code coverage #31

Open
thomasarsouze opened this issue Mar 10, 2023 · 1 comment
Open

Code coverage #31

thomasarsouze opened this issue Mar 10, 2023 · 1 comment
Labels
enhancement New feature or request tests Testing the package

Comments

@thomasarsouze
Copy link
Contributor

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

@thomasarsouze thomasarsouze added enhancement New feature or request tests Testing the package labels Mar 10, 2023
@thomasarsouze
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests Testing the package
Projects
None yet
Development

No branches or pull requests

1 participant