一键导入
tui-test
Run Textual TUI tests with appropriate per-test and global timeouts after code changes, with support for smoke-only, unit-only, or full test execution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run Textual TUI tests with appropriate per-test and global timeouts after code changes, with support for smoke-only, unit-only, or full test execution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run all code convention checks (constants, enums, keybindings, models, inline CSS). Run after implementation to enforce project standards.
Run lint + typecheck together. Use after implementation, before committing, or when checking code quality.
Textual CLI devtools for running, debugging, and exploring TUI apps. Includes run, console, serve, keys, colors, borders, easing commands. Used by tui-developer, tui-test-engineer, and tui-ux-specialist.
Run Textual TUI tests with proper timeouts. Use when running TUI unit tests or after making code changes.
Complete visual analysis workflow - screenshot capture with automatic PNG conversion, AI vision analysis. Use for UX review, freeze detection, and visual verification.
Run all TUI code convention checks (constants, enums, keybindings, models, inline CSS) after implementation to enforce project standards and catch misplaced patterns.
| name | tui-test |
| description | Run Textual TUI tests with appropriate per-test and global timeouts after code changes, with support for smoke-only, unit-only, or full test execution. |
Run TUI tests with pytest-xdist parallel execution.
# Smoke tests only
source venv/bin/activate && timeout 60 pytest -m smoke kubeagle/tests/tui/smoke/ -n 2 -v --tb=short --timeout=30
# Unit tests only
source venv/bin/activate && timeout 120 pytest kubeagle/tests/tui/unit/ -n 2 -v --asyncio-mode=auto --timeout=30 --tb=short
# All TUI tests
source venv/bin/activate && timeout 120 pytest kubeagle/tests/tui/ -n 2 -v --asyncio-mode=auto --timeout=30 --tb=short
| Type | Per-test | Global |
|---|---|---|
| Smoke | 30s | 60s |
| Unit | 30s | 120s |
Kill stuck runs when needed:
pkill -f pytest