semi implemented and features implemented save checkpoint

This commit is contained in:
master
2026-02-08 18:00:49 +02:00
parent 04360dff63
commit 1bf6bbf395
20895 changed files with 716795 additions and 64 deletions

View File

@@ -0,0 +1,24 @@
# 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-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