umbraco/umbraco-cms-backoffice-skills

umbraco-skill-test-runner

Run tests from skill examples and generate a report (project)

First seen Feb 4, 2026

Installation

$ npx skills add umbraco/umbraco-cms-backoffice-skills --skill umbraco-skill-test-runner

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from umbraco/umbraco-cms-backoffice-skills · top by installs.

npx skills add umbraco/umbraco-cms-backoffice-skills

Browse all from umbraco/umbraco-cms-backoffice-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 27
License MIT
Default branch main
Open issues 4
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
Allowed toolsBash, Read, Glob
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,990 B
  • docs SUMMARY.md 91 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 315 installs

SKILL.md

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

Type Description Runner
Unit Component tests with @open-wc/testing Web Test Runner
Mocked Integration tests against mocked backoffice Playwright
E2E Full end-to-end against real Umbraco Playwright

Environment Variables

Variable Default Description
UMBRACOUSERLOGIN - Admin email for E2E authentication
UMBRACOUSERPASSWORD - Admin password for E2E authentication
UMBRACO_URL https://localhost:44325 Umbraco 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)