Skip to main content

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

MetricCommandTarget
Mock density`grep -rcE 'MagicMock@patch
Autouse fixturesgrep -rc "autouse" tests/conftest.py0
Orphan test filesfind tests/ -name "*.py" outside testpaths0
Smoke pass ratepytest tests/smoke/ --tb=no -q100%

Benefits

  1. Under-60-second turnaround versus the full cloudops.theater-audit (minutes)
  2. Single verdict (PASS / WARN / FAIL) suitable for daily standup health check
  3. No evidence collection overhead — instant signal for mid-sprint quality checks

When to Use

AttributeDetail
PersonaQA Engineer
TriggerQuick 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 ValueFast 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
FrequencyOn-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.