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

Version 2.8.4 Still continues to Generate an Empty Coverage File

Open
#572 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Compare the coverage output from Slather 2.8.0 with 2.8.1 and later, using the reported .slather.yml keys and command as the reproduction. Start by reading issue 561 and tracing the coverage command's handling of build_directory, ignore, and profdata input; identify where the report becomes []. Done means the same setup produces a nonempty report.json on the affected versions.

Written by the indexing model from the issue text.

Description

I am still experiencing the empty coverage report issue described here: https://github.com/SlatherOrg/slather/issues/561 , even after upgrading to 2.8.4.

Specifically we have a .slather.yml file which uses the keys: build_directory and ignore .

We then run slather with the following command. bundle exec slather coverage --input-format 'profdata' --scheme <our_scheme> --workspace <absolute_path_to_workspace> --source-files <glob_with_absolute_path> --binary-file <absoluted_path_to_binary_file> <absolute_path_to_xcodeproj> On version 2.8.0 , this works fine for us. On 2.8.1+ it outputs an empty report.json file. I've tried in 2.8.1, 2.8.2, and 2.8.4. Specifically the output of the report is always []

I've tried using both Xcode 15.4 and 16.0 if that matters.

Dominant language
Ruby
Stars
1.6k
Forks
239
Avg merge
10h 19m
Merged PRs (30d)
1

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.