Imported from HamzaKhanBUIC/omnisync-ecommerce-operations (
.agents/skills/testing/SKILL.md). Install upstream withnpx skills add HamzaKhanBUIC/omnisync-ecommerce-operations --skill testing. Copyright stays with the author.
Skill: Comprehensive Test Suite Execution (testing)
1. Clear Purpose & Overview
Ensures all code changes are verified against regression, ledger invariant, and concurrency test suites.
2. When to Use (Trigger Criteria)
Triggered continuously across Phase 3 and Phase 4 by qa-engineer.
3. Required Inputs & Context
- src/
- tests/
4. Step-by-Step Procedure
- Execute unit tests for ledger math, HMAC verifiers, and rate limiters.
- Execute integration tests for channel adapters.
- Execute concurrency simulations for flash sale traffic bursts.
- Collect execution logs and coverage metrics into testing/TEST_RESULTS.md.
5. Expected Outputs & Deliverables
- testing/TEST_RESULTS.md
- Test execution console logs
6. Quality Checks & Verification Gates
- 100% test pass rate.
- Ledger invariant tests 100% green.
- Zero flakiness.
7. Failure Handling & Bounded Retry Runbook
On test failure, isolate failing assertion, diagnose root cause, invoke repair skill, and re-run full regression suite.