- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
959 B
959 B
Comprehensive Testing Strategy
Test Pyramid & Categories
┌────────────────┐
│ E2E Playwright│ Storefront & POS Flow
├────────────────┤
│ Integration │ FastAPI + MySQL + Redis
├────────────────┤
│ Unit Tests │ Pydantic + Service Layer
└────────────────┘
Mandatory Test Suites
- Unit Tests (
pytest): Verify business logic, tax formulas, and stock bucket calculations. - API Tests: Execute API contract validations against all 12 router files.
- POS Sync Idempotency Tests: Simulate duplicate
pos_transaction_idposts under simulated network retries. - Payment Webhook Verification Tests: Validate HMAC-SHA256 signature pass/fail paths.