cloudops.theater-check
Type: commands | Track: Enterprise
Quick testing theater health check — returns theater_score and pass/warn/fail verdict in under 60 seconds. Use when you need a fast signal without the full audit. Delegates to qa-engineer.
Quick Start
# Fast theater check (default: runbooks project)
/cloudops:theater-check
# With specific path
/cloudops:theater-check /path/to/project
Metrics
| Metric | Command | Target |
|---|---|---|
| Mock density | `grep -rcE 'MagicMock | @patch |
| Autouse fixtures | grep -rc "autouse" tests/conftest.py | 0 |
| Orphan test files | find tests/ -name "*.py" outside testpaths | 0 |
| Smoke pass rate | pytest tests/smoke/ --tb=no -q | 100% |
Benefits
- Under-60-second turnaround versus the full
cloudops.theater-audit(minutes) - Single verdict (PASS / WARN / FAIL) suitable for daily standup health check
- No evidence collection overhead — instant signal for mid-sprint quality checks
When to Use
| Attribute | Detail |
|---|---|
| Persona | QA Engineer |
| Trigger | Quick quality check needed — during a pairing session when a new test file has been added, or as a pre-commit check before staging files for a PR |
| Business Value | Fast theater health score (under 60 seconds) without full audit overhead — catches regressions in mock density or orphan files immediately rather than waiting for the sprint audit |
| Frequency | On-demand |
Example: As a QA Engineer, I need a fast signal on testing health after adding new test files because I want to confirm the new tests are inside testpaths and don't increase mock density before committing. I run /cloudops:theater-check which returns mock density, autouse fixture count, orphan file count, and smoke pass rate in under 60 seconds with a single PASS/WARN/FAIL verdict.
Enterprise-only. Contact sales for licensing details.