Skip to content

test: exclude ArrayLogger test-fake assembly from coverage#55

Merged
Theauxm merged 1 commit intomainfrom
test/exclude-arraylogger-from-coverage
May 5, 2026
Merged

test: exclude ArrayLogger test-fake assembly from coverage#55
Theauxm merged 1 commit intomainfrom
test/exclude-arraylogger-from-coverage

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented May 5, 2026

The Trax.Scheduler.Tests.ArrayLogger project is an in-memory ILoggerProvider used as a test fake (referenced by other test projects only, never shipped), but codecov was counting it in the totals — currently 27/80 lines (~33%), dragging the aggregate down by several percentage points.

[assembly: ExcludeFromCodeCoverage] tells coverlet to skip the assembly cleanly.

The ArrayLogger project is an in-memory ILoggerProvider used purely as
a test fake — never shipped — so it has no business showing up in
codecov totals (where it sat with ~80 lines at ~33% as an artificial
drag of several percentage points on the aggregate).
@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Theauxm Theauxm merged commit cda5411 into main May 5, 2026
2 checks passed
@Theauxm Theauxm deleted the test/exclude-arraylogger-from-coverage branch May 5, 2026 21:39
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented May 8, 2026

This PR is included in version 1.29.0

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.

1 participant