Skip to content

7.5 Tests

Sprint: Sprint 07 - Product Catalog Domain
Feature ID: 7.5
Subtasks: 7.5.1

Objective

Deliver "Tests" within Sprint 07 - Product Catalog Domain.

Dependencies

Aggregated from the subtasks below (prerequisite task IDs and enablers):

  • 7.4.2
  • 7.4.3
  • 7.3.1

Subtasks

7.5.1 Catalog integration tests

  • ID: 7.5.1
  • Title: Add product-catalog-service integration tests (Testcontainers)
  • Description: RestAssured + Testcontainers (Postgres, Redis, Kafka) covering tariff create/list/get, versioned price change with event, addon filtering, cache hit/invalidation, and admin authorization.
  • Business Purpose: Verify the catalog domain end to end (NFR-17).
  • Inputs: 7.4.x.
  • Outputs: Integration test suite.
  • Acceptance Criteria:
  • All FR-05..08 flows pass; tests assert version preservation and cache invalidation; admin authorization enforced.
  • Dependencies: 7.4.2, 7.4.3, 7.3.1
  • Complexity: M

Acceptance Criteria

Each subtask above carries its own objective, testable acceptance criteria. This feature is complete when every subtask's acceptance criteria are met.

Deliverables

  • Integration test suite.

Definition of Done

  • All subtasks (7.5.1) completed and their acceptance criteria verified.
  • All listed dependencies satisfied.
  • Build and tests green per the global conventions in ../README.md (Section 3).