[Increase Test Coverage] Batch 69
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Increase the code coverage percent on the following files to at least 80%.
Please be aware that currently the percentage might be inaccurate if the module uses salt due to #64696
File | Percent
salt/modules/mac_group.py 73
salt/modules/mac_keychain.py 70
salt/modules/mac_service.py 68
salt/modules/mac_sysctl.py 55
salt/modules/solaris_user.py 13
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the five named modules under salt/modules/, comparing their current coverage with the stated percentages and the 80% target. Read issue #64696 before measuring coverage, then add coverage for mac_group.py, mac_keychain.py, mac_service.py, mac_sysctl.py, and solaris_user.py until each reaches at least 80%.
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
- 35/100