cells-test-creator

Community

Generate unit tests with 100% file coverage

AuthorPixelDroid19
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cells-test-creator
Download link: https://github.com/PixelDroid19/cells-agents/archive/main.zip#cells-test-creator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.