Validate both engineering quality and customer-demo effectiveness.
- Unit tests
- Target deterministic orchestration and decision-support logic.
- Current scope: whirl state transitions, task idempotency, API URL builders.
- Integration tests
- Validate Podman Desktop Kubernetes deployment flow.
- Verify manifests apply cleanly and core pods become ready.
- Demo effectiveness checks
- Measure operational value shown to prospects:
- detection latency
- decision consistency across repeated runs
- false positive rate during normal load
- Project:
code-two/tests/Cartheur.Demo.Tests/Cartheur.Demo.Tests.csproj - Test files:
WhirlAndTasksTests.csUrlBuilderTests.csKpiAssertionsTests.cs
Run:
dotnet test code-two/tests/Cartheur.Demo.Tests/Cartheur.Demo.Tests.csproj -v minimalkubectl config current-contextkubectl get nodeskubectl create namespace aiops --dry-run=client -o yaml | kubectl apply -f -kubectl apply -f deployment/aiops-noise.configmap.yamlkubectl apply -f deployment/aiops-level-1.deployment.yamlkubectl apply -f deployment/aiops-level-1.service.yamlkubectl get pods -n aiopskubectl delete namespace aiops
- Project:
code-two/tests/Cartheur.Demo.IntegrationTests/Cartheur.Demo.IntegrationTests.csproj - Test file:
KubernetesDeploymentIntegrationTests.cs
- Enable with:
RUN_K8S_INTEGRATION=1
- Optional repo root override:
AIOPS_REPO_ROOT=/absolute/path/to/repo
Run:
RUN_K8S_INTEGRATION=1 dotnet test code-two/tests/Cartheur.Demo.IntegrationTests/Cartheur.Demo.IntegrationTests.csproj -v minimal- Script:
scripts/quality-gate.sh - Enforces:
- unit test pass
- coverage thresholds for
run/andagent/code - optional Kubernetes integration test execution
Run:
./scripts/quality-gate.sh- Unit tests pass.
- Kubernetes manifest deploy/teardown verified in Podman Desktop.
- One rehearsed 10-minute run recorded.
- Decision output captured and archived for the rehearsal.