test: add Tier coverage from PR #94 review#95
Merged
Conversation
Integration tests for RESOURCE_TIER round-trip (set/absent). bUnit tests for Tier row visibility and TierDescription mapping. Named arg Tier: _tier in HealthResponseBuilder. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Test Results2 tests 2 ✅ 7s ⏱️ Results for commit 5edc1a9. |
SummarySummary
CoverageAHKFlowApp.API - 61.4%
AHKFlowApp.Application - 98.1%
AHKFlowApp.Domain - 100%
AHKFlowApp.Infrastructure - 100%
AHKFlowApp.TestUtilities - 58%
AHKFlowApp.UI.Blazor - 76%
Per-assembly thresholds: Domain line≥85% br≥70% · Application line≥85% br≥45% · Infrastructure line≥70% br≥50% · API line≥57% br≥50% · UI.Blazor line≥65% br≥28% |
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.
Summary
RESOURCE_TIERround-trip (GetHealth_WhenResourceTierSet_ReturnsTierInResponse,GetHealth_WhenResourceTierAbsent_ReturnsTierNull)TierDescriptionmappings (Health_WhenTierIsNull_DoesNotRenderTierRow,Health_WhenTierIsSet_RendersTierLabel)HealthResponseBuilder.Build()to use named argumentTier: _tierAddresses Copilot review comments on #94.
Test plan
dotnet test tests/AHKFlowApp.API.Tests --filter HealthControllerTests— 5 tests passdotnet test tests/AHKFlowApp.UI.Blazor.Tests --filter HealthPageTests— 9 tests pass🤖 Generated with Claude Code