umbraco-testing

Route Umbraco backoffice extension testing to specialized unit, MSW, mocked UI, or end-to-end skills.

4|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/albanist/umbraco_CLI --skill umbraco-testing-albanist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umbraco-testing
Source: https://github.com/albanist/umbraco_CLI/tree/main/skills/testing/umbraco-testing
Command: npx skills add https://github.com/albanist/umbraco_CLI --skill umbraco-testing-albanist

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers select the most appropriate testing strategy for Umbraco backoffice extensions, ensuring efficient and effective quality assurance.

Core Features & Use Cases

  • Guided Testing Strategy: Provides a decision guide to choose between unit, MSW, mocked backoffice, and end-to-end testing.
  • Supporting Skill Integration: Points to specialized skills for test data generation and helper functions.
  • Use Case: A developer needs to test how their new Umbraco dashboard component handles API errors. This skill guides them to use umbraco-msw-testing for mocking API responses.

Quick Start

Use the umbraco-testing skill to determine the best approach for testing Umbraco extension API error handling.

Frequently Asked Questions about umbraco-testing

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

FAQPage Schema
What is the best way to test Umbraco backoffice extensions?

For Umbraco extension testing, you should align your testing method with your specific development needs. Choose between unit testing, MSW mocking for API responses, mocked backoffice UI testing, or end-to-end testing against a live instance.

How do I test API error handling in my Umbraco dashboard component?

To test API error handling in an Umbraco dashboard, use MSW mocking to simulate API responses. This approach allows you to efficiently verify how your backoffice extension handles various API error scenarios without needing a live instance.

When should I use end-to-end testing for my Umbraco backoffice extension?

Use end-to-end testing for Umbraco backoffice extensions when you must validate behavior against a live Umbraco instance. This method ensures comprehensive quality assurance by testing the full system rather than mocked components.

Can I use MSW to mock API responses in Umbraco testing?

Yes, you can use MSW to mock API responses in Umbraco testing. It is a supported strategy for mocking backoffice API interactions, allowing you to isolate and test how your extension handles specific API responses and errors.

Does unit testing work for Umbraco backoffice UI extensions?

Unit testing works for Umbraco backoffice UI extensions, but you can also choose a mocked backoffice UI testing approach. Selecting the correct method depends on aligning your testing strategy with the specific extension behavior you need to verify.