1008 B
1008 B
Policy DSL Testing CLI
Module
Cli
Status
IMPLEMENTED
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 <file>-- run tests against policy DSL. Options:--fixtures <dir>,--pattern <glob>,--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-fastand verify early exit on first failure - Run with
--format junitand verify JUnit XML output - Verify coverage report generated
- Verify clear pass/fail indicators per test case