test

Execute the test suite for the Pitfal Solutions website.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "test" with this command: npx skills add forever-efficient/pitfal-solutions-website/forever-efficient-pitfal-solutions-website-test

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

The project enforces 80% coverage thresholds for:

  • Lines

  • Functions

  • Branches

  • Statements

If coverage drops below 80%, the test:coverage command will fail.

Test Categories

Category Location Framework

Unit Tests src/**/*.test.ts

Vitest

Component Tests src/**/*.test.tsx

Vitest + Testing Library

API Tests lambda/**/*.test.ts

Vitest

E2E Tests 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

gallery-manage

No summary provided by upstream source.

Repository SourceNeeds Review
General

optimize-images

No summary provided by upstream source.

Repository SourceNeeds Review
General

deploy

No summary provided by upstream source.

Repository SourceNeeds Review