Skip to content

Commit 044adbc

Browse files
[cross-repo from durable-workflow.github.io#173] TD-DOCS-008: Version the conformance runtime status rule change (#646)
1 parent d06c939 commit 044adbc

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

tests/Unit/V2/PlatformConformanceSuiteTest.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -362,15 +362,17 @@ public function testPassFailRulesNameTheCoreContract(): void
362362
$rules['stable_runtime_scenario_coverage']['applies_to_categories'],
363363
'smoke-only replay coverage must not satisfy the stable runtime category',
364364
);
365+
foreach (['pass', 'fail', 'unsupported', 'not_covered', 'runner_blocked'] as $status) {
366+
$this->assertStringContainsString(
367+
$status,
368+
$rules['stable_runtime_scenario_coverage']['rule'],
369+
"runtime scenario status `$status` must stay part of the versioned status taxonomy",
370+
);
371+
}
365372
$this->assertStringContainsString(
366-
'not_covered',
367-
$rules['stable_runtime_scenario_coverage']['rule'],
368-
'omitted runtime scenario cells must be representable without appearing green',
369-
);
370-
$this->assertStringContainsString(
371-
'runner_blocked',
373+
'statuses published by its runtime scenario manifest',
372374
$rules['stable_runtime_scenario_coverage']['rule'],
373-
'environment-blocked runtime scenarios must be distinct from product pass/fail evidence',
375+
'the suite rule must delegate the status set to the published scenario manifests',
374376
);
375377
}
376378

0 commit comments

Comments
 (0)