umbraco avatar

Umbraco Skill Test Runner

This is part of Umbraco's skill validation pipeline, specifically the third phase that runs actual tests. It orchestrates unit tests via Web Test Runner, mocked integration tests, and full E2E tests through Playwright, then spits out a consolidated JSON report. The nice touch is that it'll automatically spin up your Umbraco instance if E2E tests need it and shut it down when done. You'd use this after link validation and code analysis to verify your skill examples actually work. It assumes you're working within the Umbraco CMS Skills project structure and have your test infrastructure already set up with the right tooling.

skills.sh installs
384
GitHub stars
27
last updated
Aug 21, 2026

Install

$ npx -y skills add umbraco/umbraco-cms-backoffice-skills --skill umbraco-skill-test-runner --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/umbraco/umbraco-cms-backoffice-skills
Categories
Testing & QA, .NET & C#
First seen
Jun 3, 2026

More from umbraco/umbraco-cms-backoffice-skills

All 76
1umbraco avatarumbraco-unit-testingumbraco/umbraco-cms-backoffice-skillsUnit and component testing for Umbraco backoffice extensions using @open-wc/testing374skills.sh installs
2umbraco avatarumbraco-test-buildersumbraco/umbraco-cms-backoffice-skillsJsonModels.Builders for creating test data in Umbraco tests370skills.sh installs
3umbraco avatarumbraco-testingumbraco/umbraco-cms-backoffice-skillsRouter skill for choosing the right testing approach for Umbraco backoffice extensions368skills.sh installs
4krutikjain avatarandroid-testing-unitkrutikjain/android-agent-skillsWrite fast, focused Android unit tests for reducers, use cases, repositories, and lifecycle-safe state holders.339skills.sh installs
5sickn33 avatartdd-orchestratorsickn33/antigravity-awesome-skillstdd orchestrator334skills.sh installs
6sickn33 avatarjavascript-testing-patternssickn33/antigravity-awesome-skillsjavascript testing patterns308skills.sh installs