20 lines
491 B
PHP
20 lines
491 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Belevo\EnelixEMS\SymconTest\TestRunner;
|
|
|
|
require_once __DIR__ . '/TestContext.php';
|
|
require_once __DIR__ . '/TestRunner.php';
|
|
|
|
/**
|
|
* @param list<string>|string $selection
|
|
* @return array{report: array<string, mixed>, console: string, junit: string}
|
|
*/
|
|
function enelixEmsRunSymconTests(string $mode = 'all', $selection = []): array
|
|
{
|
|
$runner = new TestRunner('Enelix-EMS', __DIR__ . '/manifest.php');
|
|
|
|
return $runner->run($mode, $selection);
|
|
}
|