npx claudepluginhub sam42-lab/everything-claude-code-kr# 테스트 커버리지 테스트 커버리지를 분석하고, 갭을 식별하며, 80% 이상 커버리지 달성을 위해 누락된 테스트를 생성합니다. ## 1단계: 테스트 프레임워크 감지 | 지표 | 커버리지 커맨드 | |------|----------------| | `jest.config.*` 또는 `package.json` jest | `npx jest --coverage --coverageReporters=json-summary` | | `vitest.config.*` | `npx vitest run --coverage` | | `pytest.ini` / `pyproject.toml` pytest | `pytest --cov=src --cov-report=json` | | `Cargo.toml` | `cargo llvm-cov --json` | | `pom.xml` with JaCoCo | `mvn test jacoco:report` | | `go.mod` | `go test -coverprofile=coverage.out ./...` | ## 2단계: 커버리지 보고서 분석 1. 커버리지 커맨드 실행 2. 출력 파싱 (JSON 요약 또는 터미널 출력) 3. *...
/test-coverageAnalyzes test coverage using detected frameworks, identifies files below 80%, generates missing tests, verifies improvements, and reports before/after summaries.
/test-coverageAnalyzes test coverage using tools for JavaScript, Python, Java, C#, Ruby; generates reports, identifies gaps, and recommends new tests.
/test-coverageAnalyzes test coverage using tools for JavaScript, Python, Java, C#, Ruby; generates reports, identifies gaps, and recommends new tests.
/test-coverageAnalyzes test coverage gaps in JS/TS, Python, Go, and Rust projects using vitest/jest, pytest, go test, or cargo tarpaulin, then generates and verifies tests for uncovered paths targeting 80% line coverage.
/test-coverageAnalyzes test coverage via npm/pnpm test --coverage, generates unit/integration/E2E tests for files below 80%, verifies them, and reports before/after metrics to achieve 80%+ coverage.
/test-coverageAnalyzes test coverage via detected framework (Jest/Vitest/Pytest/etc.), identifies files below 80%, generates missing tests, verifies improvements, and reports before/after coverage.
Share bugs, ideas, or general feedback.
테스트 커버리지를 분석하고, 갭을 식별하며, 80% 이상 커버리지 달성을 위해 누락된 테스트를 생성합니다.
| 지표 | 커버리지 커맨드 |
|---|---|
jest.config.* 또는 package.json jest | npx jest --coverage --coverageReporters=json-summary |
vitest.config.* | npx vitest run --coverage |
pytest.ini / pyproject.toml pytest | pytest --cov=src --cov-report=json |
Cargo.toml | cargo llvm-cov --json |
pom.xml with JaCoCo | mvn test jacoco:report |
go.mod | go test -coverprofile=coverage.out ./... |
각 커버리지 미달 파일에 대해 다음 우선순위에 따라 테스트를 생성합니다:
foo.ts → foo.test.ts (또는 프로젝트 컨벤션에 따름)test_create_user_with_duplicate_email_returns_409이전/이후 비교를 표시합니다:
커버리지 보고서
──────────────────────────────
파일 이전 이후
src/services/auth.ts 45% 88%
src/utils/validation.ts 32% 82%
──────────────────────────────
전체: 67% 84% PASS: