본문으로 건너뛰기
Skillpedia
테스트29k · #9480

report

하는 일

이 스킬은 에이전트가 브라우저 테스트를 실행하거나 읽고, 무엇이 통과했고 실패했고 불안정했는지 요약하게 합니다. 간단한 테스트 상태 업데이트를 원하는 개발자와 팀 리더를 위한 스킬입니다.

사용하는 경우

  • ✓오늘 테스트가 어떻게 되었는지 누군가 물을 때.
  • ✓팀을 위해 실패하고 불안정한 테스트의 요약이 필요할 때.
  • ✓CI 파이프라인이 끝나고 결과를 한곳에 모으고 싶을 때.

스킬 링크

https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/playwright-pro/skills/report/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/playwright-pro/skills/report/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“테스트 결과가 어땠나요? 실패한 것을 짧게 요약해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 가장 최근의 테스트 결과를 읽거나, 결과가 없으면 테스트를 실행합니다. 통과, 실패, 건너뜀, 불안정한 테스트를 세고, 마크다운 요약을 쓴 뒤 설정이 가리키는 곳으로 보냅니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Smart Test Reporting

Generate test reports that plug into the user's existing workflow. Zero new tools.

Steps

1. Run Tests (If Not Already Run)

Check if recent test results exist:

ls -la test-results/ playwright-report/ 2>/dev/null

If no recent results, run tests:

npx playwright test --reporter=json,html,list 2>&1 | tee test-output.log

2. Parse Results

Read the JSON report:

npx playwright test --reporter=json 2> /dev/null

Extract:

  • Total tests, passed, failed, skipped, flaky
  • Duration per test and total
  • Failed test names with error messages
  • Flaky tests (passed on retry)

3. Detect Report Destination

Check what's configured and route automatically:

Check If found Action
TESTRAIL_URL env var TestRail configured Push results via /pw:testrail push
SLACK_WEBHOOK_URL env var Slack configured Post summary to Slack
.github/workflows/ GitHub Actions Results go to PR comment via artifacts
playwright-report/ HTML reporter Open or serve the report
None of the above Default Generate markdown report

4. Generate Report

Markdown Report (Always Generated)

# Test Results — {{date}}

## Summary
- ✅ Passed: {{passed}}
- ❌ Failed: {{failed}}
- ⏭️ Skipped: {{skipped}}
- 🔄 Flaky: {{flaky}}
- ⏱️ Duration: {{duration}}

## Failed Tests
| Test | Error | File |
|---|---|---|
| {{name}} | {{error}} | {{file}}:{{line}} |

## Flaky Tests
| Test | Retries | File |
|---|---|---|
| {{name}} | {{retries}} | {{file}} |

## By Project
| Browser | Passed | Failed | Duration |
|---|---|---|---|
| Chromium | X | Y | Zs |
| Firefox | X | Y | Zs |
| WebKit | X | Y | Zs |

Save to test-reports/{{date}}-report.md.

Slack Summary (If Webhook Configured)

curl -X POST "$SLACK_WEBHOOK_URL" \
  -H 'Content-Type: application/json' \
  -d '{
    "text": "🧪 Test Results: ✅ {{passed}} | ❌ {{failed}} | ⏱️ {{duration}}\n{{failed_details}}"
  }'

TestRail Push (If Configured)

Invoke /pw:testrail push with the JSON results.

HTML Report

npx playwright show-report

Or if in CI:

echo "HTML report available at: playwright-report/index.html"

5. Trend Analysis (If Historical Data Exists)

If previous reports exist in test-reports/:

  • Compare pass rate over time
  • Identify tests that became flaky recently
  • Highlight new failures vs. recurring failures

Output

  • Summary with pass/fail/skip/flaky counts
  • Failed test details with error messages
  • Report destination confirmation
  • Trend comparison (if historical data available)
  • Next action recommendation (fix failures or celebrate green)
자주 묻는 질문

보고서를 만들려면 특별한 도구가 필요한가요?

아닙니다. Playwright 테스트 결과와 표준 마크다운 요약을 사용합니다.

아직 테스트 결과가 없다면요?

이 스킬은 먼저 테스트를 실행해 결과를 만듭니다.

보고서는 어디로 가나요?

마크다운 보고서는 항상 만들어집니다. 설정되어 있다면 TestRail, Slack, GitHub Actions로도 보낼 수 있습니다.

상세 정보

작성자의 원본 설명

Use when asked for a test report or results summary ('test report', 'test status', 'how did tests go').

repo: alirezarezvani/claude-skills

인기도

GitHub 스타
29k
순위
#9480
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬