Test Skill
Run appropriate test suites based on changed files or user request.
Usage
Run tests intelligently:
-
Unit tests for code changes
-
Storybook visual regression for component changes
-
Integration tests for example apps
-
Full test suite before release
Steps
-
Check git status to identify changed files
-
Determine appropriate test scope:
-
Keychain changes → pnpm test
-
Component/UI changes → pnpm test:storybook
-
Example app changes → Test specific example
-
Controller SDK changes → Controller tests + integration
-
Run selected test suite
-
Report results and any failures
-
If visual regressions detected, inform about pnpm test:storybook:update
Notes
-
E2E tests currently disabled in CI but can run locally
-
Storybook snapshot updates require Docker setup
-
Pre-commit hooks automatically run linting/formatting