スキル一覧に戻る
umbraco

umbraco-skill-test-runner

by umbraco

1🍴 1📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: umbraco-skill-test-runner description: Run tests from skill examples and generate a report (project) version: 1.0.0 location: managed allowed-tools: Bash, Read, Glob

Skill Test Runner

Runs all tests from skill examples (unit, mocked, E2E) and outputs a JSON report.

Usage

cd .claude/skills/umbraco-skill-test-runner/scripts
npm install --silent
npx tsx run-tests.ts

Test Types

TypeDescriptionRunner
UnitComponent tests with @open-wc/testingWeb Test Runner
MockedIntegration tests against mocked backofficePlaywright
E2EFull end-to-end against real UmbracoPlaywright

Environment Variables

VariableDefaultDescription
UMBRACO_USER_LOGIN-Admin email for E2E authentication
UMBRACO_USER_PASSWORD-Admin password for E2E authentication
UMBRACO_URLhttps://localhost:44325Umbraco instance URL

Auto-Start Umbraco

If E2E tests are needed and Umbraco is not running, the script will automatically:

  1. Start Umbraco from ./Umbraco-CMS.Skills/ using dotnet run
  2. Wait for the instance to be ready
  3. Run E2E tests
  4. Stop Umbraco when done (if it was started by the script)

Output

Generates test-report.json in the project root with structure:

{
  "timestamp": "2024-12-26T12:00:00Z",
  "umbracoStarted": true,
  "summary": {
    "total": 10,
    "passed": 8,
    "failed": 1,
    "skipped": 1
  },
  "results": [
    {
      "example": "counter-dashboard",
      "path": "plugins/umbraco-testing-skills/.../counter-dashboard",
      "type": "unit",
      "status": "passed",
      "duration": 1234
    }
  ]
}

Integration

This skill is Phase 3 of the validate-skills command, running after:

  1. Link validation (umbraco-skill-validator)
  2. Code analysis (umbraco-skill-code-analyzer)

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です