diff --git a/CHANGELOG.md b/CHANGELOG.md index 34f3436..dc5b7cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Contributors add user-facing entries under `[Unreleased]` in the same PR. Mainta - **Tests**: `tests/test_skill_issuer.py` now requires `test_skill.py` for every registry skill under `skills/` (#160). - **Documentation**: Clarified that bundle tests must mock network calls and model downloads in CI (#170). +- **Documentation**: Added a **Status** section to [TESTING.md](docs/TESTING.md) summarizing the current testing model and planned CLI work (#179). ## [0.3.7] - 2026-06-22 diff --git a/docs/TESTING.md b/docs/TESTING.md index f86959b..7bf59bf 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -4,6 +4,20 @@ Skillware maintains high standards for code quality and reliability. Before subm Tests fall into four layers: **bundle**, **framework**, **maintainer**, and **example**. Use that vocabulary consistently in docs and PRs. +## Status + +| Capability | Status | +| :--- | :---: | +| Bundle tests in CI (`pytest skills/`) | Done | +| Every registry skill ships `test_skill.py` | Done | +| Issuer enforces bundle tests on new skills | Done | +| Bundle tests mock network and model downloads in CI | Done | +| Maintainer tests under `tests/skills/` (optional per skill) | Done | +| `[all]` extra covers bundle-test runtime deps | Done | +| CLI `skillware test` for bundle discovery | Planned | + +Every pull request runs `black --check`, `flake8`, `pytest skills/`, and `pytest tests/`. Bundle tests gate merge the same as framework and maintainer tests. + ## Quick Setup Install lint tools, pytest, and optional skill runtime deps in one go (matches GitHub Actions CI): diff --git a/tests/test_skill_issuer.py b/tests/test_skill_issuer.py index c130033..2d4d414 100644 --- a/tests/test_skill_issuer.py +++ b/tests/test_skill_issuer.py @@ -65,7 +65,7 @@ def test_registry_skills_declare_issuer(): def test_registry_skills_have_bundle_test(): - """Every registry skill must ship a co-located bundle test (RFC #156).""" + """Every registry skill must ship a co-located bundle test.""" for skill_dir in _discover_skill_dirs(): rel = skill_dir.relative_to(REPO_ROOT).as_posix() assert (