mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore(cleanup): Tidy-up and tweaks of Pest Parallel integration.
This commit is contained in:
@ -45,9 +45,6 @@ $bootPest = (static function (): void {
|
||||
'phpunit-argv:',
|
||||
]);
|
||||
|
||||
require_once __DIR__.'/../overrides/Runner/TestSuiteLoader.php';
|
||||
require_once __DIR__.'/../overrides/Runner/Filter/NameFilterIterator.php';
|
||||
|
||||
$composerAutoloadFiles = [
|
||||
dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'autoload.php',
|
||||
dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php',
|
||||
@ -63,6 +60,15 @@ $bootPest = (static function (): void {
|
||||
}
|
||||
}
|
||||
|
||||
require_once __DIR__.'/../overrides/Runner/TestSuiteLoader.php';
|
||||
require_once __DIR__.'/../overrides/Runner/Filter/NameFilterIterator.php';
|
||||
|
||||
/**
|
||||
* PHPUnit has no understanding of "todo" tests, so the ProgressPrinter will not show
|
||||
* TODO items by default. We use our own implementation here to add support for TODO.
|
||||
*/
|
||||
require_once __DIR__.'/../overrides/TextUI/Output/Default/ProgressPrinter/TestSkippedSubscriber.php';
|
||||
|
||||
assert(isset($getopt['status-file']) && is_string($getopt['status-file']));
|
||||
$statusFile = fopen($getopt['status-file'], 'wb');
|
||||
assert(is_resource($statusFile));
|
||||
|
||||
Reference in New Issue
Block a user