Test Strategy

Owner: QA
Reviewers: Engineering, Product
Status: Draft
Version: 0.1
Last Updated: 2026-09-16
Review Cycle: Per release

Scope

Layer Strategy Current Status
Backend unit tests Jest specs for services/use cases. CONFIRMED
Backend e2e tests Jest e2e configuration exists. PARTIAL
Web checks ESLint and production build in CI. CONFIRMED
Mobile checks Expo lint and TypeScript scripts exist locally. PARTIAL
API contract Swagger plus DTO/controller review. PARTIAL
UAT Role-based manual validation. TBD

Risk-Based Priorities

  1. Auth, role and farm-scope enforcement.
  2. Farm/pond/crop data integrity.
  3. Alerts, tickets and operational workflows.
  4. Reports and exports.
  5. IoT telemetry ingestion and device command timeout behavior.