1.7 KiB
1.7 KiB
Master Test Strategy — Universal Enterprise Platform
| Field | Value |
|---|---|
| Document | test_strategy.md |
| System | Universal Enterprise Platform (UEP) |
| Governed Standard | UP-AI v1.0 Quality Standard |
| Status | Rebaselined under CR-001 |
| Version | 1.1.0 |
| Last CR | CR-001 |
1. Test Levels & Multi-Path Dimensions
Testing in UP-AI v1.0 is strictly enforced across four multi-path dimensions to achieve \ge 95.0\% automated statement and branch coverage:
- Happy Path: Expected standard execution flows and state progressions.
- Alternate & Boundary/Edge Cases: Extreme values, empty states, pagination boundaries, and concurrency edges.
- Negative & Validation Failures: Malformed payloads, invalid claims, expired tokens, and SQL injection probes.
- FSM Invariants & Idempotency: State transition validation and inability to use an ended application session. Revocation timing is asserted only when approved by security design; cross-tenant isolation is tested under its owning use cases.
2. Test Types & Tooling Standard
| Level / Type | Primary Framework | Artifact Location | Tagging Convention |
|---|---|---|---|
| Backend Unit & Integration | pytest + pytest-cov |
tests/backend/ |
uc_001, fr_auth_001, story_auth_001 |
| API Contract & Integration | Bruno (.bru plain text) |
docs/api/bruno/ |
@UC-001, @FR-AUTH-001 |
| Frontend Component & E2E | vitest + playwright |
tests/frontend/ |
@UC-001, @FR-AUTH-001 |
| Manual QA Deliverables | Markdown + Excel 21-Sheet | 07_test_design/manual_qa/ |
scripts/generate_manual_qa_workbook.py |