Skip to content

Generate macro code coverage report for ASPEC::Methods.assert_compiles usages#642

Merged
Blacksmoke16 merged 1 commit intomasterfrom
code-coverage-report
Dec 29, 2025
Merged

Generate macro code coverage report for ASPEC::Methods.assert_compiles usages#642
Blacksmoke16 merged 1 commit intomasterfrom
code-coverage-report

Conversation

@Blacksmoke16
Copy link
Member

Context

#551 made it so that only assert_compile_time_error generates a macro code coverage report. assert_compiles should also as it can be used to test success paths in isolation, which otherwise would have some lines/code paths go unreported.

Changelog

  • Generate macro code coverage report for ASPEC::Methods.assert_compiles usages

Before merging, remember to add the athena-framework/athena prefix to the PR number in the PR title

@Blacksmoke16 Blacksmoke16 added component:spec kind:feature Brand new functionality labels Dec 29, 2025
@codecov
Copy link

codecov bot commented Dec 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Components Coverage Δ
clock 100.00% <ø> (ø)
console 97.24% <ø> (ø)
dependency_injection 91.08% <ø> (-2.09%) ⬇️
dotenv 98.41% <ø> (ø)
event_dispatcher 95.90% <ø> (ø)
framework 97.83% <ø> (-0.29%) ⬇️
http ∅ <ø> (∅)
image_size 96.63% <ø> (ø)
mercure 94.94% <ø> (ø)
mime 99.37% <ø> (ø)
negotiation 97.93% <ø> (ø)
routing 98.38% <ø> (ø)
serializer 95.83% <ø> (ø)
spec 94.06% <100.00%> (+0.13%) ⬆️
validator 96.00% <ø> (ø)

📢 Thoughts on this report? Let us know!

@Blacksmoke16 Blacksmoke16 merged commit 2a8f77a into master Dec 29, 2025
15 of 16 checks passed
@Blacksmoke16 Blacksmoke16 deleted the code-coverage-report branch December 29, 2025 16:13
Blacksmoke16 added a commit to athena-framework/spec that referenced this pull request Dec 29, 2025
…es` usages (athena-framework/athena#642)

## Context

athena-framework/athena#551 made it so that only
`assert_compile_time_error` generates a macro code coverage report.
`assert_compiles` should also as it can be used to test success paths in
isolation, which otherwise would have some lines/code paths go
unreported.

## Changelog

- Generate macro code coverage report for
`ASPEC::Methods.assert_compiles` usages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:spec kind:feature Brand new functionality

Development

Successfully merging this pull request may close these issues.

1 participant