Skip to content

test: add multi-package mixed BDD+normal scenario test for gaze quality #219

Open

Description

@jflowers

Context

PR #211 added empty-results handling for gaze quality when BDD/Ginkgo suites produce no resolvable targets. Reviewer feedback item #4 identified a missing test scenario.

Test Scenario

Run gaze quality with multiple package patterns where:

  • One package contains only BDD-style tests (all skipped — no targets resolved)
  • One package contains normal Go tests (targets resolve normally)

This exercises the mergeSummaries aggregation path where allReports is non-empty (from the normal package) but SkippedTests > 0 (from the BDD package). The current test suite only covers the fully-empty case.

Acceptance Criteria

  • Test fixture: BDD-only package + normal test package
  • Test verifies merged summary has both resolved reports and skipped test data
  • Test verifies text output includes both quality report and skipped test section
  • Test verifies JSON output includes both reports array and skipped_tests count

Origin

PR #211 review feedback from @yvonnedevlinrh (finding #4, deferred to follow-up).

Activity

  1. added
    enhancement
    on Aug 12, 2026
  2. added 3 commits that reference this issue on Aug 12, 2026
  3. added a commit that references this issue on Sep 1, 2026
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

    enhancement

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions