Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`--source-files` not working

オープン
#501 コメント 11 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ruby

調査の方向性

Start by tracing how the coverage command parses --source-files and applies the selection when generating a report; the issue provides two reproductions using a folder glob and a specific Swift file. Compare that behavior with issue #313, then add or update coverage for both cases. Done means reports include only the requested source files; the issue does not name relevant files or tests.

索引モデルが issue の本文から書いたものです。

説明

Hello I'm using Slather 2.7.1 and trying to generate coverage for a specific folder PROJECT_ROOT/Classes/Extensions/ but using --source-files to specify that folder or a specific file in the folder is not working. It generates the coverage report for the entire project each time.

Both of these examples generate coverage for the entire project even though I specify a single folder/file:
slather coverage -x --workspace Project.xcworkspace --scheme iOS --build-directory ./build --source-files "./Project/Classes/Extensions/*" Project.xcodeproj

slather coverage -x --workspace Project.xcworkspace --scheme iOS --build-directory ./build --source-files "./Project/Classes/Extensions/Array+Additions.swift" Project.xcodeproj

There is also this older issue that mentions --source-files is not working:

主要言語
Ruby
スター
1.6k
フォーク
239
平均マージ
1日 9時間
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SlatherOrg/slather のほかの issue

SlatherOrg/slather の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。