dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
run.php File Reference

Go to the source code of this file.

Variables

 $profile = 'full'
 $requested = array()
 $json = false
foreach(array_slice($argv ?? array(), 1) as $argument) $runner = new dbxSelfTestRunner()
 $run
if($json) else

Variable Documentation

◆ $json

$json = false

Definition at line 8 of file run.php.

◆ $profile

◆ $requested

$requested = array()

Definition at line 7 of file run.php.

Referenced by dbx\dbxWorkflow\dbxWorkflowEngine\render().

◆ $run

$run
Initial value:
= $runner->runProfile($profile, $requested, static function (array $result, ?array $current) use ($json): void {
if ($json) return;
$total = (int)($current['totals']['total'] ?? 0);
$done = (int)($current['totals']['completed'] ?? 0);
$label = strtoupper((string)$result['status']);
fwrite(STDOUT, sprintf("[%d/%d] %-7s %s (%s)\n", $done, $total, $label, $result['name'], $result['duration_ms'] . ' ms'));
if (($result['status'] ?? '') === 'failed') {
fwrite(STDOUT, ' ' . str_replace("\n", "\n ", (string)$result['summary']) . "\n");
}
})
foreach(array_slice($argv ?? array(), 1) as $argument) $runner
Definition run.php:15
$profile
Definition run.php:6
$requested
Definition run.php:7

Definition at line 16 of file run.php.

◆ $runner

foreach (array_slice( $argv ?? array(), 1) as $argument) $runner = new dbxSelfTestRunner()

Definition at line 15 of file run.php.

◆ else

if ( $json) else
Initial value:
{
$totals = $run['totals']

Definition at line 29 of file run.php.