more features checks. setup improvements
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"type": "integration",
|
||||
"capturedAtUtc": "2026-02-13T10:45:00Z",
|
||||
"testCommand": "dotnet test src/Policy/__Tests/StellaOps.Policy.Engine.Tests/StellaOps.Policy.Engine.Tests.csproj --no-restore -v normal",
|
||||
"testFilter": "PolicyGateEvaluatorTests, VexTrustGateTests, StabilityDampingGateTests, CicdGateIntegrationTests, CveAwareReleasePolicyGatesDeepTests covering multi-gate pipeline, gate levels, thresholds",
|
||||
"testsRun": 1278,
|
||||
"testsPassed": 1278,
|
||||
"testsFailed": 0,
|
||||
"targetedTestMethods": [
|
||||
"PolicyGateEvaluatorTests.NotAffected_WithCU_AllowsDecision",
|
||||
"PolicyGateEvaluatorTests.NotAffected_WithSU_AllowsWithWarning_WhenJustificationProvided",
|
||||
"PolicyGateEvaluatorTests.NotAffected_WithSU_Blocks_WhenNoJustification",
|
||||
"PolicyGateEvaluatorTests.NotAffected_WithSR_Blocks",
|
||||
"PolicyGateEvaluatorTests.NotAffected_WithCR_Blocks",
|
||||
"PolicyGateEvaluatorTests.NotAffected_WithContested_Blocks",
|
||||
"PolicyGateEvaluatorTests.Affected_WithCR_Allows",
|
||||
"StabilityDampingGateTests.EvaluateAsync_NewVerdict_ShouldSurface",
|
||||
"StabilityDampingGateTests.EvaluateAsync_WhenDisabled_ShouldAlwaysSurface",
|
||||
"CveAwareReleasePolicyGatesDeepTests.DriftGate_KevReachable_Blocks",
|
||||
"CveAwareReleasePolicyGatesDeepTests.DriftGate_HighCvss_Blocks",
|
||||
"CveAwareReleasePolicyGatesDeepTests.DriftGate_HighEpss_Blocks",
|
||||
"CveAwareReleasePolicyGatesDeepTests.DriftGate_AffectedReachable_Blocks"
|
||||
],
|
||||
"behaviorVerified": [
|
||||
"PolicyGateEvaluator: 5-gate sequential pipeline (EvidenceCompleteness, LatticeState, VexTrust, UncertaintyTier, ConfidenceThreshold)",
|
||||
"Gate result types: Pass, PassWithNote, Warn, Block, Skip; short-circuits on first Block; accumulates warnings",
|
||||
"LatticeState gate: CU allows, SU warns with justification / blocks without, SR blocks, CR blocks for not_affected / allows for affected, Contested (X) blocks",
|
||||
"VexTrustGate: per-environment trust thresholds (prod: 0.80, staging: 0.60, dev: 0.40), configurable enable/disable",
|
||||
"DeterminizationGate: determinism verification using DecayedConfidenceCalculator",
|
||||
"StabilityDampingGate: prevents oscillation, new verdict surfaces, disabled always surfaces, configurable MinDurationBeforeChange and MinConfidenceDeltaPercent",
|
||||
"DriftGateEvaluator: KEV reachable blocks, high CVSS blocks, high EPSS blocks, affected reachable blocks, custom gate conditions (AND/OR), override with justification",
|
||||
"PolicyGateDecision: overall decision type (Allow/Warn/Block) with BlockedBy gate name and BlockReason",
|
||||
"Override support: justification required (non-empty), approved bypasses recorded as PassWithNote",
|
||||
"PolicyGateOptions: configurable gate thresholds, enable/disable per gate"
|
||||
],
|
||||
"assertionTypes": [
|
||||
"value equality (Assert.Equal for PolicyGateDecisionType.Allow/Warn/Block)",
|
||||
"null checks (Assert.Null/NotNull for BlockedBy, Advisory)",
|
||||
"string containment (Assert.Contains for SR, Contested in block reasons)",
|
||||
"boolean assertions (Should().BeTrue/BeFalse for ShouldSurface)",
|
||||
"string containment (Should().Contain for 'new verdict' reason)"
|
||||
],
|
||||
"newTestsWritten": [],
|
||||
"bugsFixed": [],
|
||||
"rawOutput": "Engine.Tests: Passed! - Failed: 0, Passed: 1278, Skipped: 0, Total: 1278, Duration: 6s 015ms",
|
||||
"verdict": "pass"
|
||||
}
|
||||
Reference in New Issue
Block a user