Skip to main content

campaign-service - Testing Strategy

Version: 1.0 Status: Draft (proper stub) Owner: Product Last Updated: 2026-04-21 References: SERVICE_OVERVIEW.md, docs/standards/SERVICE_TEMPLATE.md


0. Status

Proper stub per SERVICE_TEMPLATE.md rule: "Stubs are acceptable for an early service (headings only), but every file is present and owned." Populate in lock-step with implementation; do NOT remove.


Intent

Defines unit, integration, contract, and E2E coverage targets and the scenario list for campaign-service. See SERVICE_OVERVIEW.md and _report.md.


1. Unit

TBD - domain layer, no infra imports.

2. Integration

TBD - Testcontainers (Postgres, NATS, Redis).

3. Contract

TBD - Pact + event-schema conformance.

4. E2E Scenarios

TBD.

5. Coverage Targets

TBD - domain at least 90 pct, application at least 80 pct, infrastructure at least 60 pct.