Runs full pytest test suite (unit, E2E, subprocess) for cli-anything-web CLI at <app-path> with auth verification, updates TEST.md with results, analyzes failures.
From cli-anything-webnpx claudepluginhub itamarzand88/cli-anything-web --plugin cli-anything-web<app-path>/testRuns pytest tests for CLI harness on local path or GitHub repo, verifies CLI resolution, and updates TEST.md with results if all pass.
/testExecutes unit, integration, or e2e tests with coverage analysis, quality metrics, failure diagnostics, and optional watch mode or auto-fixes.
/testRuns TDD workflow for features (red-green-refactor) or bugs (Prove-It pattern): writes failing tests, implements, verifies with full suite. Handles browser issues via DevTools.
/testGenerates test strategy overview, unit and integration test code, coverage analysis, execution plan, and maintenance roadmap for a specified component or feature.
/testLaunches Chrome for manual UI testing at given URL, monitors console errors during interaction, generates report with screenshots and logs on completion.
/testInvokes the testing-coach agent to provide guidance on screen reader, keyboard navigation, and automated testing based on the request.
Skills used:
testing(Phase 3)
Read the methodology overview: @${CLAUDE_PLUGIN_ROOT}/HARNESS.md
Target: $ARGUMENTS
This command invokes the testing skill for Phase 3.
Verify auth is working FIRST — this is mandatory before any E2E test:
cli-web-<app> auth login # playwright-cli (recommended)
cli-web-<app> auth login --cookies-json <file> # manual fallback
cli-web-<app> auth status
Auth status MUST show live validation succeeded. If it fails:
npx @playwright/cli@latest --version)Locate test directory: <app>/agent-harness/cli_web/<app>/tests/
Run full test suite:
cd <app>/agent-harness
python -m pytest cli_web/<app>/tests/ -v --tb=short 2>&1
If installed, also run subprocess tests:
CLI_WEB_FORCE_INSTALLED=1 python -m pytest cli_web/<app>/tests/ -v -s -k subprocess 2>&1
After running, verify the subprocess backend was used:
[_resolve_cli] Using installed command: — this confirms
the installed package is being tested, not the source fallbackParse test output: count passed, failed, skipped, errors
Update TEST.md with results in standard format
If failures exist, analyze and suggest fixes
See the testing skill for detailed testing patterns and the
standards skill for quality checks.
# Test Results — cli-web-<app>
## Summary
- **Total**: X tests
- **Passed**: X
- **Failed**: X
- **Date**: YYYY-MM-DD
## Unit Tests (test_core.py)
<list of test results>
## E2E Tests (test_e2e.py)
<list of test results>
## CLI Subprocess Tests
<list of test results>
If any tests fail: