What problem does it solve?
Many Cells components lack deterministic, maintainable tests or contain tests coupled to internal implementation details, causing brittle failures and missed branch coverage; this Skill drives creation and validation of public-behavior unit tests to reach file-level 100% coverage and consistent repository conventions.
Core Features & Use Cases
- Create or update mirrored test files under the test/ hierarchy that exercise only public behavior and emitted events.
- Provide a base-test generator and a conventions validator to avoid private-member access, enforce OpenWC + Sinon patterns, and require sinon.restore in teardowns.
- Coordinate a multi-agent loop: test creation, targeted test execution, lcov-based coverage auditing, and compliance validation to close branches and produce evidence.
- Use cases: add missing tests for a component, increase file-level coverage to 100%, triage uncovered BRDA entries, and validate naming/structure and i18n considerations.
Quick Start
Generate a mirrored unit test for src/path/component.js using public behavior only and validate it until the target file reaches 100% file-level coverage.