What problem does it solve?
This Skill solves unreliable or missing automated tests in CI/CD by providing prescriptive workflows, configuration patterns, and operational checklists to run unit and E2E tests, publish coverage, and surface test failures on every commit and pull request.
Core Features & Use Cases
- GitHub Actions Workflows: Ready-made patterns for running linting, type checks, unit tests, and E2E suites on pushes and PRs.
- E2E & Service Setup: Guidance for running Playwright tests with service containers (Postgres), installing browsers, and waiting for app readiness.
- Coverage & Reporting: Integrations for generating coverage reports, uploading to Codecov, enforcing thresholds, and publishing test results in PRs.
- Performance & Reliability: Strategies for caching dependencies, parallelizing jobs, sharding tests, retrying flaky tests, and uploading artifacts on failure.
- Use Case: Configure CI for a Node/React legal case management app to run Vitest unit tests and Playwright E2E on PRs, upload coverage to Codecov, and block merges when checks fail.
Quick Start
Create a GitHub Actions workflow that runs lint, type checks, Vitest unit tests, Playwright E2E tests, caches dependencies, uploads coverage to Codecov, and fails the PR if coverage is below 80%.