update project
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Architecture;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
final class Phase10ReleaseReadinessArchitectureTest extends TestCase
|
||||
{
|
||||
public function test_release_docs_exist(): void
|
||||
{
|
||||
$required = [
|
||||
'docs/release/feature-flag-rollout-map.md',
|
||||
'docs/release/migration-validation.md',
|
||||
'docs/release/shadow-comparison-plan.md',
|
||||
'docs/release/rollback-playbooks.md',
|
||||
'docs/release/uat-scenarios.md',
|
||||
'docs/release/support-playbooks.md',
|
||||
'docs/release/production-readiness-review.md',
|
||||
];
|
||||
|
||||
foreach ($required as $path) {
|
||||
$this->assertFileExists(base_path($path), $path);
|
||||
}
|
||||
}
|
||||
|
||||
public function test_release_commands_exist(): void
|
||||
{
|
||||
$required = [
|
||||
'app/Console/Commands/ReleaseFeatureFlagsCommand.php',
|
||||
'app/Console/Commands/ReleaseMigrationValidateCommand.php',
|
||||
'app/Console/Commands/ReleaseShadowCompareCommand.php',
|
||||
'app/Console/Commands/ReleaseReadinessGateCommand.php',
|
||||
'app/Console/Commands/LegacyUnsafeRouteAuditCommand.php',
|
||||
];
|
||||
|
||||
foreach ($required as $path) {
|
||||
$this->assertFileExists(base_path($path), $path);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user