umbraco-skill-test-runner

Execute unit, mocked, and end-to-end tests for Umbraco skills, generating a JSON report.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/kraftvaerk/Kraftvaerk.Umbraco.Alchemy --skill umbraco-skill-test-runner-kraftvaerk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umbraco-skill-test-runner
Source: https://github.com/kraftvaerk/Kraftvaerk.Umbraco.Alchemy/tree/main/Kraftvaerk.Umbraco.Alchemy.Frontend/.agents/skills/umbraco-skill-test-runner
Command: npx skills add https://github.com/kraftvaerk/Kraftvaerk.Umbraco.Alchemy --skill umbraco-skill-test-runner-kraftvaerk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires glob, tsx, @types/node, typescript, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the execution of various types of tests for Umbraco skills, ensuring their quality and functionality before integration.

Core Features & Use Cases

  • Comprehensive Testing: Supports unit, mocked, and end-to-end (E2E) tests.
  • Automated Reporting: Generates a JSON report summarizing test results.
  • Umbraco Management: Can automatically start and stop Umbraco instances for E2E tests.
  • Use Case: Integrate this Skill into your CI/CD pipeline to automatically validate all Umbraco skills after every code change, catching regressions early.

Quick Start

Execute the test runner script from the skill's scripts directory.

Frequently Asked Questions about umbraco-skill-test-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Umbraco skill testing in a CI/CD pipeline?

Automate Umbraco skill testing by executing the test runner script from the scripts directory to validate unit, mocked, and E2E tests after code changes. This integration catches regressions early by automatically generating a comprehensive JSON report of the test results.

Can I automatically manage Umbraco instances for E2E testing?

You can automatically manage Umbraco instances for E2E testing because the test runner supports starting and stopping instances automatically. This automated management requires specific environment variables for authentication and URL configuration to execute properly.

What types of tests can I run for Umbraco skills?

You can run unit, mocked, and end-to-end (E2E) tests for Umbraco skills. Running these comprehensive tests ensures the quality and functionality of skills before integration, summarizing all results in a generated JSON report.

Do I need specific environment variables to run E2E tests for Umbraco?

Running E2E tests for Umbraco requires specific environment variables for authentication and URL configuration. These variables are necessary for the test runner to manage Umbraco instances automatically and execute the end-to-end test suite successfully.

Does the test runner use TypeScript to execute Umbraco skill tests?

The test runner uses TypeScript with tsx to execute Umbraco skill tests and glob for file matching. These dependencies ensure that the scripts run efficiently in a Node.js environment to generate accurate test reports.