Skip to content

Add test coverage reporting and enforcement #41

@Hell1213

Description

@Hell1213

Description

Set up test coverage reporting for the project to track which parts of the codebase are tested and enforce minimum coverage thresholds.

Tasks

  • Add pytest-cov to dev dependencies
  • Configure coverage reporting in pyproject.toml
  • Set up coverage thresholds (e.g., 60% minimum)
  • Add coverage badge generation
  • Integrate with CI pipeline
  • Exclude __init__.py and empty placeholder files from coverage

Skills Required

  • Python
  • pytest-cov
  • CI/CD

Difficulty

Advanced-level3,gssoc-ext

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgssocGirlScript Summer of Codegssoc-extGSSoC Extended contributionlevel3Advanced: Complex task (45 points)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions