aRustyDev / aRustyDev/pre-commit-hooks

track: Code coverage reporting implementation

オープン
#29 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
5
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

説明

## Overview
Track the implementation and improvement of code coverage reporting for all hook scripts.

## Current Status
- ✅ Coverage workflow created (`.github/workflows/coverage.yml`)
- ✅ kcov integration configured
- ⚠️ Coverage currently at 0% (no hooks passing tests)

## Goals
- [ ] Fix hook scripts to pass shellcheck
- [ ] Achieve 50% coverage
- [ ] Achieve 80% coverage target
- [ ] Add coverage badge to README
- [ ] Integrate coverage checks in PR reviews

## Tracking Metrics
- Current coverage: 0%
- Target coverage: 80%
- Number of hooks tested: 3/26
- Number of test files: 6

## Related PRs
- Initial coverage setup: (this commit)

## Dependencies
- Depends on #27 (test coverage for all hooks)
- Blocks v1.0.0 release

## Action Items
1. Fix shellcheck errors in hook scripts
2. Update tests to handle hook script issues
3. Add coverage badge to README
4. Configure coverage as required PR check

## Milestone
Test Coverage 80%

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reviewing .github/workflows/coverage.yml, the 6 existing test files, and the dependency issue #27. Check the 26 hook scripts and current 3/26 test coverage, then address the listed shellcheck and test issues. Done means reaching the stated coverage targets, adding a README badge, and configuring coverage as a required PR check.

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

評価

技術スタック
github-actions, shell
領域
ci-cd, release, testing
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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