Add test coverage checklist, report template, and stack matrix for ecommerce project

- Created a test coverage checklist to ensure comprehensive testing of backend and frontend components.
- Added a test report template to standardize reporting on test execution results and gaps.
- Introduced a test stack matrix to guide the selection of testing tools and frameworks for backend and frontend.
- Established a skill for repairing failing tests, including a failure triage checklist and a test repair template.
- Documented recommended MCP stack for ecommerce development with FastAPI and React/Next.js.
- Developed a detailed README outlining the project structure, agent capabilities, and recommended workflows.
- Compiled a comprehensive workflow guide detailing step-by-step commands for project setup, testing, and SEO implementation.
This commit is contained in:
ВяткинАртём
2026-05-20 18:09:24 +03:00
parent 5699670ea0
commit 2817cf8dc6
96 changed files with 2987 additions and 2888 deletions
@@ -0,0 +1,24 @@
# Failure Triage Checklist
## First classify the problem
- Real product bug.
- Broken or outdated test.
- Environment or fixture problem.
- Flaky timing or async issue.
- Wrong assumptions after a refactor.
## Backend-specific checks
- Contract mismatch.
- Validation error changes.
- Permissions or auth regression.
- Test data or fixture drift.
## Frontend-specific checks
- UI behavior changed intentionally or unintentionally.
- Query selectors too brittle.
- Async rendering not awaited correctly.
- Mock data drift.
## Repair rule
- Fix the real source of truth issue first.
- Only change tests when the implementation is correct and the test is outdated or wrong.
@@ -0,0 +1,28 @@
# TEST-REPAIR.md Template
## 1. Initial Failure State
- Failing suites
- Failing commands
- Main error categories
## 2. Root Cause Analysis
- Backend causes
- Frontend causes
- Environment causes if any
## 3. Fixes Applied
- Code fixes
- Test fixes
- Config or fixture fixes
## 4. Rerun Results
- Commands rerun
- Passing suites
- Remaining failures
## 5. Blockers
- Anything still preventing green status
## 6. Recommended Next Step
- Whether to continue fixing
- Whether to adjust architecture, fixtures, or test tooling