coala / coala/coala-quickstart
Bears.py: Add tests for 100% branch coverage
Open
difficulty/low
type/tests
- Dominant language
- Python
- Stars
- 49
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
Many parts of Bears.py are not covered with tests.
Add coverage for all of the easy ones, and add rules to exclude the more difficult to reach corners of the code.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating Bears.py and reviewing its existing tests and branch coverage. Add tests for the reachable branches, then configure coverage exclusions for the difficult-to-reach code paths. Done means the reported branch coverage reaches 100% under those exclusions.
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
- Mostly clear
- Newbie friendliness
- 45/100