A lightweight, asynchronous test execution and metrics engine built with pure Node.js (ES6+). Designed to simulate CI/CD quality gate evaluations for automated test suites.
- Async Execution Pipeline: Simulates network delays and asynchronous test processing.
- Metrics Calculation: Computes total execution count, pass/failure rates, and identifies slowest performance bottlenecks.
- Dynamic Quality Gate: Evaluates deployment readiness based on strict pass-rate thresholds.
- Zero External Dependencies: Built entirely with native Node.js features (
Array methods,Template Literals,Promises).
- Clone the repository:
git clone [https://github.com/eddygdevs/qa-cli-test-runner.git](https://github.com/eddygdevs/qa-cli-test-runner.git)
cd qa-cli-test-runner- Run the engine:
node runner.js[CI/CD PIPELINE] Starting test suite execution (6 tests loaded)...
========================================
PIPELINE EXECUTION SUMMARY
========================================
Total Executed : 6
Passed Tests : 4
Failed Tests : 2
Pass Rate : 66.67%
Slowest Test : DASH-01 (6.2s)
========================================
>> DEPLOYMENT STATUS: REJECTED (Quality gate failed)
Failed IDs: PAY-01, DASH-01