/cli-anything-web:test <app-path>from cli-anything-web
Runs the full test suite for a cli-anything-web CLI: verifies auth, executes pytest, runs subprocess tests, and generates TEST.md with results and failure analysis.
Ships in cli-anything-web. Installing the plugin adds it to Claude Code.
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
Generate TEST.md using the automated generator:
python ${CLAUDE_PLUGIN_ROOT}/scripts/generate-test-docs.py full \
<app>/agent-harness/cli_web/<app>/tests --app-name <app>
This produces both Part 1 (test plan from AST) and Part 2 (results from pytest).
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:
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
6 commands in this plugin
/cli-anything-webGenerate a complete agent-native CLI for any web app by recording and analyzing network traffic via playwright-cli. Runs the full pipeline with site assessment, capture, implementation, testing, and verification./listcli-anything-web:listList all available CLI-Anything-Web CLIs (installed and generated)./recordcli-anything-web:recordRecord network traffic from a web app without generating a CLI. Useful for initial exploration or adding more coverage data./refinecli-anything-web:refineRefine an existing cli-anything-web CLI by recording additional traffic and expanding command coverage. Invokes the gap-analyzer skill as its first step, then implements missing endpoints./validatecli-anything-web:validateValidate a cli-anything-web CLI against the tiered quality checklist (Tier 1 critical / Tier 2 comprehensive). Reports per-category and per-tier results.npx claudepluginhub itamarzand88/cli-anything-web --plugin cli-anything-webOther plugins' commands for the same job