Skip to content

Close core runtime branch coverage gaps #414

Closed

Description

@JerrettDavis

Coverage review shows meaningful gaps in core runtime APIs, especially branch and result-path coverage.

Representative gaps from source-only local report:

  • src/PatternKit.Core/Cloud/QueueLoadLeveling/QueueLoadLevelingPolicy.cs: 13 uncovered lines, 86.7%
  • src/PatternKit.Core/Messaging/Consumers/EventDrivenConsumer.cs: 12 uncovered lines, 74.5%
  • src/PatternKit.Core/Messaging/Consumers/EventDrivenConsumerHandlerResult and related result types have low branch coverage
  • src/PatternKit.Core/Application/TableDataGateway result/gateway paths are below target
  • src/PatternKit.Core/Cloud/Bulkhead, CacheAside, and GatewayAggregation still have branch gaps

Acceptance criteria:

  • Add TinyBDD scenarios for failure, cancellation, empty, duplicate, invalid, timeout, and fallback paths.
  • Target 95%+ for each touched core pattern class.
  • Avoid testing implementation trivia; focus on public behavior and edge contracts.

Activity

  1. JerrettDavis commented on May 31, 2026

    @JerrettDavis
    OwnerAuthor

    Closed by merged PR #462 ( est: harden core runtime coverage gaps), which added TinyBDD branch coverage for event-driven consumers, table data gateway paths, and bulkhead policy branches. Main is green after the follow-up CI timeout fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions