aRustyDev / aRustyDev/pre-commit-hooks

track: Code coverage reporting implementation

Aperta
#29 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
5
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 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%

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.