Jammy2211 / PyAutoGalaxy

PyAutoGalaxy: Open-Source Multiwavelength Galaxy Structure & Morphology

Home Page:https://pyautogalaxy.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TST: Add test coverage report

pllim opened this issue · comments

For example, using https://about.codecov.io/ and pytest coverage extension. Report that coverage as part of your CI and add a badge of that coverage in your README. If possible, shoot for 90% or better though I understand that is not always possible (e.g., if bulk of your code runs on numba and that isn't possible on Actions).

Also, I understand that high coverage does not mean all the edge cases are tested.

Bonus: Do consider using Hypothesis (https://hypothesis.readthedocs.io/) if you really care about catching edge cases where numerical computations are really important.

astropy/astropy.github.com#491 (comment)