← ClaudeAtlas

jira-task-testlisted

Run tests for a Jira task (Playwright E2E, vitest/jest, custom) and post results to Jira. Triggers: jira-task test, run tests; 테스트 실행, E2E 테스트.
mzd-hseokkim/jira-claude-code-integration · ★ 8 · Testing & QA · score 74
Install: claude install-skill mzd-hseokkim/jira-claude-code-integration
# jira-task-test: Run Tests & Report to Jira **Language Rule**: 프로젝트 CLAUDE.md의 Conventions 섹션 참고 (한국어 출력, Jira 코멘트 제목은 영어). ## Prerequisites - Implementation should be complete for the task - Test framework should be installed in the project ## Workflow ### Context Optimization 이 스킬에서 `mcp__atlassian__jira_get_issue`를 호출해야 하면 먼저 `.jira-context.json`의 `cachedIssue`를 확인한다 (CLAUDE.md "Issue Cache" 참고). hit이면 호출 생략. miss이면 다음 파라미터로 호출 후 cache 갱신: - `fields="summary,status,issuetype"` - `comment_limit=0` ### Step 1: Detect Test Environment & Level **Level 판정**: `.jira-context.json.breakdownLevel` → 없으면 `cachedIssue.issuetype` 폴백 (approach Step 0 동일 규칙: Subtask/Task/Bug→L1, Story→L2, Epic→L3, 그 외→L1). 판정 결과를 이후 단계에서 사용. | Level | 동작 | |-------|------| | L1 | 경량 검증 — 핵심 동작만 확인, report 인라인/파일 생략 허용 | | L2 | 현행 유지 — 전체 test suite 실행 + report 파일 생성 | | L3 | child Story별 책임 — 본 스킬이 L3 Epic에서 호출되면 "child Story 단위로 실행할 것" 안내 후 조기 종료 | Scan the project to determine the test setup: ```bash # Check for test frameworks ls package.json 2>/dev/null # Node.js project ls playwright.config.* 2>/dev/null # Playwright ls vitest.config.* 2>/dev/null # Vitest ls jest.config.* 2>/dev/null # Jest ls pytest.ini 2>/dev/null # Python pytest ls pyproject.toml 2>/dev/null # Python pyproject ``` Also check `package.json` for test scripts: ```bash cat package.json | grep -A5 '"scripts"' ``` Determine available test types: - **E2E (Playwright)**: If `playwright.config.