mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 17:27:22 +01:00
WIP
This commit is contained in:
committed by
Nuno Maduro
parent
aff11486b2
commit
2561d47bb5
20
src/Plugins/Parallel/Handlers/Pest.php
Normal file
20
src/Plugins/Parallel/Handlers/Pest.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Pest\Plugins\Parallel\Handlers;
|
||||
|
||||
use Pest\Plugins\Concerns\HandleArguments;
|
||||
use Pest\Plugins\Parallel\Contracts\HandlesSubprocessArguments;
|
||||
use Pest\TestCaseMethodFilters\TodoTestCaseFilter;
|
||||
use Pest\TestSuite;
|
||||
|
||||
final class Pest implements HandlesSubprocessArguments
|
||||
{
|
||||
use HandleArguments;
|
||||
|
||||
public function handleSubprocessArguments(array $arguments): array
|
||||
{
|
||||
$_SERVER['PEST_PARALLEL'] = '1';
|
||||
|
||||
return $arguments;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user