forever-efficient/pitfal-solutions-website

test

Run tests for the Pitfal Solutions project. Supports unit tests, E2E tests, and coverage reporting.

First seen Jan 26, 2026

Installation

$ npx skills add forever-efficient/pitfal-solutions-website --skill test

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from forever-efficient/pitfal-solutions-website · top by installs.

npx skills add forever-efficient/pitfal-solutions-website

Browse all from forever-efficient/pitfal-solutions-website

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash, Read

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,135 B
  • docs SUMMARY.md 111 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 24 installs

SKILL.md

Run Tests

Execute the test suite for the Pitfal Solutions website.

Arguments

  • $ARGUMENTS - Optional mode: unit, e2e, coverage, watch, changed, or empty for all tests

Test Modes

Run All Tests (Default)

pnpm test

Unit/Component Tests Only

pnpm test

E2E Tests (Playwright)

pnpm test:e2e

E2E Tests with UI

pnpm test:e2e:ui

Watch Mode (Development)

pnpm test:watch

Changed Files Only (For Pre-Commit)

pnpm test:changed

Coverage Report

pnpm test:coverage

Coverage Thresholds

Configured in vitest.config.ts (global coverage.thresholds). The test:coverage command fails if any metric falls below its threshold:

Metric Threshold
Lines 90%
Statements 90%
Functions 88%
Branches 87%

Coverage is collected for src/components/, src/lib/, and lambda/** (see coverage.include / coverage.exclude in vitest.config.ts).

Test Categories

Vitest picks up **/*.test.{ts,tsx} (see vitest.config.ts); most live under tests/.

Category Typical location Framework
Unit / lib tests/lib/**/*.test.ts Vitest
Component tests/components/**/*.test.{ts,tsx} Vitest + Testing Library
Lambda tests/lambda/**/*.test.ts Vitest
E2E tests/e2e/*.spec.ts Playwright

Pre-Commit Workflow

Before committing code:

pnpm test:changed   # Tests for changed files only
pnpm lint           # Lint check
pnpm type-check     # TypeScript check

CI Workflow

Full test suite for CI/CD:

pnpm test           # Full test suite
pnpm test:coverage  # Coverage report
pnpm test:e2e       # E2E tests

Output

Report:

  • Test results (pass/fail counts)
  • Failed test details with stack traces
  • Coverage summary (when using coverage mode)
  • Recommendations for next steps