appbuilder-testing

Generate Jest test scaffolds and mock helpers for Adobe App Builder actions and UI components.

1|Updated Oct 7, 2024
One-click install
npx skills add https://github.com/valithedge/etisalatedge --skill appbuilder-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appbuilder-testing
Source: https://github.com/valithedge/etisalatedge/tree/main/.agents/skills/appbuilder-testing
Command: npx skills add https://github.com/valithedge/etisalatedge --skill appbuilder-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing and maintaining tests for Adobe App Builder actions and UI components is complex and repetitive; this skill provides ready-made Jest scaffolds and mock helpers to accelerate that work.

Core Features & Use Cases

  • Scaffold unit, integration, contract, and component tests for App Builder actions and React UI components.
  • Provide mock helpers for State, Files, Events SDKs, @adobe/aio-lib-* clients, ExC Shell context (@adobe/exc-app), and UIX Guest (@adobe/uix-guest) to simplify test setup.
  • Support quick-start prompts to bootstrap test suites and improve CI readiness.

Quick Start

Use the App Builder testing skill to scaffold Jest tests and mocks for your actions and UI components.

Frequently Asked Questions about appbuilder-testing

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

FAQPage Schema
How do I scaffold Jest tests for Adobe App Builder actions?

To scaffold Jest tests for Adobe App Builder actions, this skill generates ready-made test boilerplates. It automates test workflows by providing templates for unit, integration, and contract tests, including clear patterns for loading and validating success and error paths.

What is the best way to mock Adobe App Builder SDKs in Jest?

The best way to mock Adobe App Builder SDKs in Jest is by using generated mock helpers. This skill provides mock helpers for State, Files, Events SDKs, and @adobe/aio-lib-* clients to simplify and standardize your test setup.

How do I test React Spectrum components in an App Builder UI?

To test React Spectrum components in an App Builder UI, this skill generates Jest component test scaffolds. It includes specific mock helpers for ExC Shell context (@adobe/exc-app) and UIX Guest (@adobe/uix-guest) to ensure accurate component rendering and behavior validation.

Can I use this to improve CI readiness for aio app test?

Yes, you can use this skill to improve CI readiness for aio app test. It standardizes testing workflows by providing quick-start prompts to bootstrap test suites, ensuring your App Builder actions and UI components follow testing best practices for continuous integration.

Do I need to manually write boilerplate for App Builder contract tests?

No, you do not need to manually write boilerplate for App Builder contract tests. This skill automates the generation of test scaffolds and mock helpers, providing ready-made assets and references to accelerate testing workflows and ensure best practices.