What problem does it solves?
This Skill streamlines the validation process for AEM Edge Delivery code changes, ensuring high quality and preventing regressions before pull requests. It guides you through a pragmatic testing philosophy, saving time by focusing on valuable tests and automating checks.
Core Features & Use Cases
- Comprehensive Testing Guide: Covers unit testing for logic, browser testing for visual and DOM validation, linting for code quality, and performance validation.
- Value-Driven Testing: Guides on when to create "keeper" (unit) vs. "throwaway" (browser) tests, optimizing your testing effort for maximum impact.
- Use Case: After modifying an AEM block, this Skill ensures all existing tests pass, new logic is unit-tested, and visual changes are validated with browser screenshots across multiple viewports. This guarantees your code is robust and ready for review, reducing feedback cycles.
Quick Start
Initiate the testing workflow for the "Hero" block, ensuring all unit tests pass and browser screenshots are captured for visual validation.