feat: add skillware test CLI for bundle tests (#83)#188
Merged
Conversation
Delegate to pytest on skills/**/test_skill.py with the same root resolution as list. Supports skill ID, --category, -v, and --no-header.
Align CLI, TESTING, CONTRIBUTING, vision, usage index, template, and PR template so no follow-up doc pass is needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
skillware testso contributors can run bundle tests without memorizing pytest paths. Delegates to pytest onskills/**/test_skill.pyusing the same root resolution asskillware list.Framework feature — CLI only; no skill bundle or loader changes.
Behavior
skillware testskillware test <category>/<name>test_skill.pyskillware test --category <name>-v/--no-headerExit code matches pytest. Clear error when
test_skill.pyis missing. Interactive menu option3/testwired up.Docs cross-linked in
cli.md,TESTING.md,CONTRIBUTING.md,ai_native_workflow.md, usage index, vision, skill template, and PR template.Checklist
skillware/cli.py)flake8+pytest tests/test_cli.py(29 passed)CHANGELOG.mdupdated under[Unreleased]examples/README.md— N/ARelated Issues
Fixes #83