Skip to content

TST: Add test coverage report #66

@pllim

Description

@pllim

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions