v0.6.1 - Comprehensive Test Suite
v0.6.1 - Comprehensive Test Suite
Added
693 pytest tests across 6 modules validating the entire plugin:
| Module | Tests | What it validates |
|---|---|---|
test_plugin_manifest |
8 | plugin.json keys, semver, paths, skill/rule counts vs disk |
test_skills |
~500 | All 28 skills: frontmatter, required sections, content quality, internal links |
test_rules |
~72 | All 9 rules: frontmatter, globs, body content, H1 heading |
test_docs_consistency |
12 | Version/count sync across README, CLAUDE.md, CONTRIBUTING, ROADMAP, CHANGELOG |
test_internal_links |
~90 | Every relative link in every .md/.mdc file resolves |
test_roadmap |
7 | Current version marker, table counts, completed section integrity |
CI Integration
pytest now runs in validate.yml after existing shell checks. Python 3.12 + requirements-test.txt (pytest, pyyaml).
Housekeeping
- Added
__pycache__/,*.pyc,.pytest_cache/to.gitignore