Skip to main content

testing-quality

Use when running tests, writing test cases, checking coverage, or doing type-checks. Triggers on test, unit test, vitest, Playwright, E2E test, pytest, type-check, tsc --noEmit, test coverage, regression test, test suite, pnpm test, npx vitest, npx playwright test, test file, .test.ts, .spec.ts, describe, it, expect, mock.

Datos de origen

Repositorio
george11642/george-plugins
Última actividad en el origen
11 de marzo de 2026 a las 22:42
Idioma detectado de SKILL.md
inglés
Estrellas
2
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
testing-quality
description
Use when running tests, writing test cases, checking coverage, or doing type-checks. Triggers on test, unit test, vitest, Playwright, E2E test, pytest, type-check, tsc --noEmit, test coverage, regression test, test suite, pnpm test, npx vitest, npx playwright test, test file, .test.ts, .spec.ts, describe, it, expect, mock.
# Testing Quality ## Commands | Task | Command | |------|---------| | All unit tests | `npm test` / `pnpm test` | | Single test file | `npx vitest path/to/test` | | E2E tests | `npx playwright test` | | Type check | `npx tsc --noEmit` or `npm run type-check` | | Python tests | `pytest` | | Coverage | `npx vitest --coverage` | ## Test Conventions - Unit tests: `*.test.ts` co-located with source - E2E tests: `e2e/*.spec.ts` (check project CLAUDE.md for exact path) - E2E auth state and test users: check project CLAUDE.md ## When to Test - After ANY code change: run unit tests - After TypeScript changes: run type-check - After Convex schema changes: `npx convex dev --once` - After UI changes: browser screenshot verification - New features MUST include unit tests - Bug fixes MUST include regression tests ## Test Patterns ```typescript // Vitest import { describe, it, expect } from 'vitest'; describe('feature', () => { it('should work', () => { expect(true).toBe(true); }); }); ```
Ver en GitHub