17 lines
669 B
PHP
17 lines
669 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Tests\Support\TestLaneManifest;
|
|
|
|
it('keeps profiling serial and artifact-rich for slow-test drift analysis', function (): void {
|
|
$lane = TestLaneManifest::lane('profiling');
|
|
$command = TestLaneManifest::buildCommand('profiling');
|
|
|
|
expect($lane['governanceClass'])->toBe('support')
|
|
->and($lane['parallelMode'])->toBe('forbidden')
|
|
->and($lane['artifacts'])->toContain('profile-top', 'junit-xml', 'summary', 'budget-report')
|
|
->and($command)->toContain('--profile')
|
|
->and($command)->not->toContain('--parallel')
|
|
->and(implode(' ', $command))->toContain('--exclude-group=browser');
|
|
}); |