astropy / astropy/pyregion

Improve test coverage

Open
#44 2 comments 0 reactions 0 assignees View on GitHub
enhancement tests
Dominant language
Python
Stars
41
Forks
41
PR merge metrics
No merged PRs in 30d

Description

The current test coverage is around 50%, so we should work on improving that:

https://coveralls.io/r/astropy/pyregion

Of course, we shouldn't try and improve coverage of e.g. `kapteyn_celetial.py` since this is an external package (and see #43 for a suggestion of removing it in favor of using `astropy.coordinates`).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Coveralls report linked in the issue to identify uncovered project code. Exclude kapteyn_celetial.py as requested and review the discussion in #43 before choosing targets. Done means adding tests that materially improve coverage without covering that external package.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.