umbraco-testing

Select testing strategies for Umbraco backoffice extensions.

26|13|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/umbraco/Umbraco-CMS-Backoffice-Skills --skill umbraco-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umbraco-testing
Source: https://github.com/umbraco/Umbraco-CMS-Backoffice-Skills/tree/main/plugins/umbraco-testing-skills/skills/umbraco-testing
Command: npx skills add https://github.com/umbraco/Umbraco-CMS-Backoffice-Skills --skill umbraco-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a structured approach to testing Umbraco backoffice extensions, guiding users to the most appropriate testing strategy for their specific needs, from isolated unit tests to full end-to-end workflows.

Core Features & Use Cases

  • Testing Strategy Guidance: Helps select the right testing level (Unit, MSW, Mocked Backoffice, E2E) based on the testing scenario.
  • Comprehensive Testing Pyramid: Supports all layers of the testing pyramid for robust extension validation.
  • Use Case: When developing a new Umbraco backoffice extension, use this skill to determine the best way to test its API integrations, UI rendering, and overall workflow against a real or mocked Umbraco environment.

Quick Start

Invoke the umbraco-testing skill to determine the best testing approach for your Umbraco extension.

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?

Testing Umbraco backoffice extensions requires choosing between unit testing, MSW testing, mocked backoffice testing, and end-to-end testing based on specific requirements like isolated contexts, API error handling, UI integration, or full workflow validation.

How do I choose between unit testing and E2E testing for Umbraco?

Choose unit testing for isolated contexts and mocked backoffice testing for UI integration. Use E2E testing when you need full workflow validation against a real Umbraco environment, while MSW testing handles specific API error handling scenarios.

When do I need MSW testing for an Umbraco extension?

You need MSW testing for an Umbraco extension when your specific testing requirements involve API error handling and simulating network responses, rather than testing full UI integration or complete end-to-end workflows.

Can I generate test data and helpers for Umbraco backoffice testing?

Yes, you can generate test data and facilitate testing using test builders and test helpers, which support the various testing strategies from unit tests to full end-to-end workflows for Umbraco extensions.

Does Umbraco testing support the full testing pyramid for extension validation?

Yes, Umbraco testing supports all layers of the testing pyramid for robust extension validation, providing structured guidance across unit, MSW, mocked backoffice, and end-to-end testing levels.

Why should I use a testing strategy router for Umbraco extensions?

A testing strategy router for Umbraco extensions guides you to the most appropriate testing level for your specific scenario, preventing over-testing with E2E when isolated unit tests or mocked backoffice tests are sufficient.