Skip to content

Add unit and integration coverage report make targets#1427

Merged
katiewasnothere merged 1 commit intoapple:mainfrom
noah-thor:make-coverage
Apr 21, 2026
Merged

Add unit and integration coverage report make targets#1427
katiewasnothere merged 1 commit intoapple:mainfrom
noah-thor:make-coverage

Conversation

@noah-thor
Copy link
Copy Markdown
Contributor

This adds make targets that generate json, html, and plain text coverage reports for unit tests, integration tests, and an aggregation of both suites. These new targets can be run via make coverage (aggregate), make coverage-unit (only unit tests), and make coverage-integration (only integration tests).

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

This provides developers a means to measure test coverage for new and old features alike, to ensure that testing for aforementinoed features is adequate.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

Comment thread .gitignore Outdated
This adds make targets that generate json, html, and plain text coverage
reports for unit tests, integration tests, and an aggregation of both
suites. These new targets can be run via `make coverage` (aggregate),
`make coverage-unit` (only unit tests), and `make coverage-integration`
(only integration tests).
Copy link
Copy Markdown
Contributor

@egernst egernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great improvements, thanks Noah.

@katiewasnothere katiewasnothere merged commit 7e8c2fe into apple:main Apr 21, 2026
3 checks passed
@noah-thor noah-thor deleted the make-coverage branch April 21, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants