umbraco-unit-testing

Community

Test Umbraco backoffice extensions

Authoralbanist
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a robust framework and clear guidance for writing effective unit and component tests for Umbraco backoffice extensions, ensuring code quality and stability.

Core Features & Use Cases

  • Testing Web Components: Utilizes @open-wc/testing for comprehensive testing of Lit-based components.
  • Context Testing: Enables testing of Umbraco's context API and observable patterns.
  • Mocking Strategies: Offers both full Umbraco environment simulation and simplified mock-based approaches for isolated testing.
  • Use Case: You've developed a custom Umbraco backoffice section and want to ensure its components render correctly and its state management logic functions as expected before deployment.

Quick Start

Configure your project by adding the necessary dependencies and setting up the web-test-runner.config.mjs file as described in the documentation.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: umbraco-unit-testing
Download link: https://github.com/albanist/umbraco_CLI/archive/main.zip#umbraco-unit-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.