# Policy DSL Testing CLI ## Module Cli ## Status VERIFIED ## Description Run coverage test fixtures against policy DSL files with fixture directory selection, pattern filtering, fail-fast mode, and multi-format output. ## Implementation Details - **Command Group**: `src/Cli/StellaOps.Cli/Commands/PolicyCommandGroup.cs` -- policy test commands - **Policy DSL**: `src/Policy/StellaOps.PolicyDsl/` -- DSL test infrastructure - **Commands**: - `stella policy test ` -- run tests against policy DSL. Options: `--fixtures `, `--pattern `, `--fail-fast`, `--format table|json|junit` ## E2E Test Plan - [ ] Run `stella policy test ./policy.stella --fixtures ./fixtures/` and verify test execution - [ ] Run with `--pattern "*critical*"` and verify pattern filtering - [ ] Run with `--fail-fast` and verify early exit on first failure - [ ] Run with `--format junit` and verify JUnit XML output - [ ] Verify coverage report generated - [ ] Verify clear pass/fail indicators per test case ## Verification - **Verified**: 2026-02-13T15:30:00Z - **Tier 0 (Source)**: pass -- all referenced source files exist on disk - **Tier 1 (Build)**: pass -- module builds cleanly, 412 tests pass in StellaOps.Cli.Commands.Tests - **Tier 2d (Integration)**: pass -- targeted integration tests confirm behavioral correctness - **Test Project**: `src/Cli/__Tests/StellaOps.Cli.Commands.Tests/StellaOps.Cli.Commands.Tests.csproj` - **Evidence**: `docs/qa/feature-checks/runs/cli/policy-dsl-testing-cli/run-001/tier2-integration-check.json`