test: increase test coverage for activity package event routing#420
Open
test: increase test coverage for activity package event routing#420
Conversation
…outing Add tests for prettifyActivity event type routing to verify all EventType cases in the switch statement dispatch to the correct formatting functions.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #420 +/- ##
==========================================
+ Coverage 68.62% 69.23% +0.60%
==========================================
Files 218 218
Lines 18162 18162
==========================================
+ Hits 12464 12574 +110
+ Misses 4538 4419 -119
- Partials 1160 1169 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
zimeg
approved these changes
Mar 20, 2026
| } | ||
| } | ||
|
|
||
| func Test_prettifyActivity_allEventTypes(t *testing.T) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog
Summary
This pull request increasing test coverage for the
internal/pkg/platform/activitypackage.prettifyActivityevent type routing to verify event typesprettifyActivitycoverage from 33.3% to 97.0%Requirements