test(interceptor): add comprehensive tests for interceptor chain builder#10
Open
schaenzer wants to merge 3 commits into
Open
test(interceptor): add comprehensive tests for interceptor chain builder#10schaenzer wants to merge 3 commits into
schaenzer wants to merge 3 commits into
Conversation
Expand test coverage from 4 basic tests to 19 tests across 5 categories: - Options white-box tests (config application, independence, last-wins) - Builder black-box tests (table-driven with various option combos) - Ordering tests via reflect (verify exact interceptor sequence) - Behavioral integration tests (panic recovery, request ID propagation, deadline enforcement, error mapping, success path) - Options integration tests (custom deadline/requestID configs, order independence) https://claude.ai/code/session_011YbD59ctwdD2jMEbvBBTBN
Add dorny/test-reporter@v2 to display individual test results as a GitHub check run. Tests now output JSON format (-json flag) which the reporter parses. Both the test report and coverage artifact upload use if: always() to run even when tests fail. https://claude.ai/code/session_011YbD59ctwdD2jMEbvBBTBN
The floating tag v1.2 does not exist; use the full semver tag v1.2.0. https://claude.ai/code/session_011YbD59ctwdD2jMEbvBBTBN
Contributor
Merging this branch will not change overall coverage
Coverage by fileChanged unit test files
|
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.
Expand test coverage from 4 basic tests to 19 tests across 5 categories:
deadline enforcement, error mapping, success path)
https://claude.ai/code/session_011YbD59ctwdD2jMEbvBBTBN