Stack Explorer

pytest-cov

Testing

Pytest plugin for code coverage measurement

10M/week → Stable

Features

coveragepytestmetricsqualityci-cd

Pros and Cons

Ventajas

  • + Direct pytest integration
  • + HTML, XML, terminal reports
  • + Subprocess support
  • + Simple configuration
  • + CI/CD integration
  • + Flexible file exclusion

Desventajas

  • - Can slow down tests
  • - Coverage doesn't guarantee quality
  • - Complex advanced configuration
  • - Branch coverage can be confusing
  • - False positives with dynamic code

Use Cases

  • Test coverage measurement
  • CI/CD reports
  • Untested code identification
  • Quality metrics
  • Code review with coverage
  • Standards compliance

Tecnologías Relacionadas

Compatible with