Include files (opposite of ignore)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Start by reading Slather's existing ignore pattern handling and the coverage report generation entry points to see where file selection is applied. The issue requests the opposite behavior: patterns that include selected files, such as names containing ViewModel. Done means the generated report can be limited to matching files; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
Im working on a existing app with no unit tests. Im sure lots of people have been in this situation before!
All new functionality is unit tested - but I would like to track it. Overall it shows 3% but if I manually look at just my new files its closer to 100%.
I would like to track code coverage for the files that I have added. Is there any way to specify patterns for what files to include in the coverage report?
Eg only include files that contain ViewModel in their name.
- Dominant language
- Ruby
- Stars
- 1.6k
- Forks
- 239
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from SlatherOrg/slather
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
SlatherOrg/slather#582 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
SlatherOrg/slather#580 · 9 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 56/100
SlatherOrg/slather#578 · 3 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
SlatherOrg/slather#577 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
SlatherOrg/slather#576 · 2 comments ·
All issues in SlatherOrg/slather
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
alphagov/public-asset-checker#378 · 1 comment ·
Maintainers usually reply within 1 day
-
data error
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
riscv/riscv-unified-db#2749 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
RubyGems
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
jrubyc-compiled code with an array pattern fails to load (NullPointerException reading persisted IR)Possibly taken @sferik claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 2 days