Skip to content

Story 7.1: End-to-End Integration Test (T-6.1) #28

Description

@nam20485

Story 7.1: End-to-End Integration Test (T-6.1)

Objective

Full-pipeline E2E test with a mocked LLM producing deterministic JSON.

Scope

In Scope

  • GapMiner.Integration.Tests.

Out of Scope

  • Features deferred to other stories (see dependencies)

Plan

  • Implement per the acceptance criteria below (scoped to <= 8 files)
  • Add unit/integration tests covering the criteria
  • Verify dotnet build (0 warnings) + dotnet test green

Acceptance Criteria

  • GapMiner.Integration.Tests project uses Testcontainers for Postgres + Redis
  • Single test FullPipeline_ShouldProduceGaps seeds 50 synthetic reviews, runs AnalyzeGapsJob with mocked LLM (NSubstitute) returning deterministic JSON, asserts correct FeatureGap records with expected titles
  • Test passes in CI within 60 seconds

Validation Plan

  • The E2E test itself is the deliverable.
  • dotnet build exit 0; dotnet test green for the affected project

Validation Commands

dotnet build GapMiner.sln
dotnet test  # affected project + GapMiner.Integration.Tests

Dependencies

Related Issues

  • Depends on (plan task ids): T-2.3, T-3.4, T-4.1, T-5.4 - encoded as GitHub blocked-by edges to the corresponding Story issues.
  • Parent: Epic 7: Integration Testing & Hardening

Test Strategy

  • The E2E test itself is the deliverable.

Implementation Notes

Plan reference: T-6.1 in Phase 6. Conventional Commits required: 'feat(scope): description'. CancellationToken on all async I/O. Never hardcode secrets.

Activity

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

    P3Priority: lowarea/infraArea: infrastructure / DevOpsstoryLevel: story

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions