27 lines
1.4 KiB
PHP
27 lines
1.4 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Tests\Support\TestLaneManifest;
|
|
|
|
it('keeps confidence broader than fast-feedback while excluding browser and heavy-governance', function (): void {
|
|
$lane = TestLaneManifest::lane('confidence');
|
|
$command = TestLaneManifest::buildCommand('confidence');
|
|
|
|
expect($lane['parallelMode'])->toBe('required')
|
|
->and($lane['includedFamilies'])->toContain('unit', 'non-browser-feature-integration')
|
|
->and($lane['excludedFamilies'])->toContain('browser', 'heavy-governance')
|
|
->and($lane['budget']['thresholdSeconds'])->toBeLessThan(TestLaneManifest::fullSuiteBaselineSeconds())
|
|
->and($command)->toContain('--parallel')
|
|
->and($command)->toContain('--testsuite=Unit,Feature')
|
|
->and(implode(' ', $command))->toContain('--exclude-group=browser,heavy-governance');
|
|
});
|
|
|
|
it('keeps confidence discovery free of the initial heavy-governance batch', function (): void {
|
|
$files = TestLaneManifest::discoverFiles('confidence');
|
|
|
|
expect($files)->not->toContain('tests/Feature/Guards/ActionSurfaceContractTest.php')
|
|
->and($files)->not->toContain('tests/Feature/Guards/OperationLifecycleOpsUxGuardTest.php')
|
|
->and($files)->not->toContain('tests/Feature/ProviderConnections/CredentialLeakGuardTest.php')
|
|
->and($files)->not->toContain('tests/Feature/Filament/Alerts/AlertsKpiHeaderTest.php');
|
|
}); |