Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Include files (opposite of ignore)

Open
#544 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
testing

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SlatherOrg/slather

All issues in SlatherOrg/slather

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.