All 5 thin-skill adapter repos now have: - tests/README.md explaining limited coverage rationale (prose-only skills) - tests/test_smoke.py covering plugin.yaml, SKILL.md frontmatter, adapter re-export Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| test_smoke.py | ||
Test Rationale — molecule-skill-update-docs
What this plugin does
molecule-skill-update-docs is a prose-only skill: its logic lives entirely in
skills/update-docs/SKILL.md (12-step documentation update workflow). The adapter
(adapters/claude_code.py) is a thin re-export of AgentskillsAdaptor from
plugins_registry.builtins — no business logic, no network calls, no side effects.
What is tested
plugin.yamlis valid YAML with required fields (name, version, runtimes, skills)skills/update-docs/SKILL.mdhas valid YAML frontmatter and a body with a Steps section documenting the update workflowadapters/claude_code.pyexists and re-exportsAgentskillsAdaptorvalidate-plugin.py(.molecule-ci/scripts/) exits zero
What is NOT unit-tested (and why)
The documentation update workflow is prose guidance inside SKILL.md — no Python function to unit test. Smoke tests cover the artifact structure; full evaluation requires integration tests against a real workspace with filesystem access.
Running tests
python -m pytest tests/ -v