Skip to content

Test Cases: Campaign

ModuleEXT-03URDCampaign URD

Only Promotion Setup & Lifecycle is built today. Discount application is Planned (compute service disabled) and has no test cases yet.

1. Coverage Summary

AreaURD reqsTest casesCovered
Setup & Lifecycle (PRM)44
Discount Application (APP)30— (Planned)

2. Test Cases

TC-PRM-NNN lines up with URD-PRM-NNN. Priority = P1 (critical) / P2 (major) / P3 (minor).

TC IDURD refScenarioStepsExpectedP
TC-PRM-001URD-PRM-001Atomic aggregate create1. Submit promotion + method + rules 2. Force an error variantAll entities created together; error rolls back allP1
TC-PRM-002URD-PRM-002Lifecycle transitions1. Activate a DRAFT 2. Deactivate 3. ReactivateStatus follows DRAFT → ACTIVATED → DEACTIVATED → ACTIVATEDP1
TC-PRM-003URD-PRM-003Rule contexts1. Add eligibility, source, target rulesEach rule attaches to the correct contextP2
TC-PRM-004URD-PRM-004Usage limit1. Set a usage limit 2. Read usage stateLimit-reached check reflects the configured capP2

3. Traceability

Every Must requirement must map to ≥1 test case.

URD requirementTest case(s)Status
URD-PRM-001TC-PRM-001✅ Covered
URD-PRM-002TC-PRM-002✅ Covered
URD-PRM-003TC-PRM-003✅ Covered
URD-PRM-004TC-PRM-004✅ Covered
URD-APP-001/002/003⚠️ Planned — no tests yet (compute service disabled)

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.