GitHub Actions: запускай тесты на каждый PR. Unit/integration: npm test в workflow. E2E: Playwright с setup (install browsers). Параллелизация: sharding в Playwright (--shard=1/4), Jest --maxWorkers. Кеширование: node_modules, Playwright browsers. Artifacts: скриншоты, видео, coverage отчёты. Fail PR если тесты красные. Coverage badge в README. Flaky test detection: retry + report. Порядок: lint → type check → unit → integration → E2E. Быстрые тесты первыми — fail fast.
Как настроить тестирование в CI?
Middle
214 просмотровAFK Offer AI
Что такое optimistic updates?