dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
Lade ...
Suche ...
Keine Treffer
run.php-Dateireferenz

Variablen

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

Variablen-Dokumentation

◆ $json

$json = false

◆ $profile

◆ $requested

$requested = array()

◆ $run

$run
Initialisierung:
= $runner->run_profile($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
$json
Definition schema-actions.php:12
$result
Definition write-change-log.php:43

Wird benutzt von dbx\dbxSelfTest\dbxSelfTestRunner\clear_history(), dbx\dbxSelfTest\dbxSelfTestRunner\execute_run_test(), dbx\dbxSelfTest\dbxSelfTestRunner\finish_run(), dbx\dbxSelfTest\dbxSelfTestRunner\history(), dbx\dbxSelfTest\dbxSelfTestRunner\record_browser_test_result(), dbx\dbxAdmin\dbxUser\run(), dbx\dbxAdmin\dbxWizard\run(), dbx\dbxContact\dbxContact\run(), dbx\dbxContact_admin\dbxContactAdmin\run(), dbx\dbxDownLoad\dbxDownLoad\run(), dbx\dbxShop\dbxShop\run(), dbx\dbxShop_admin\dbxShopAdmin\run(), dbx\dbxWorkflow\dbxWorkflow\run(), dbx\dbxWorkflow_admin\dbxWorkflowAdmin\run(), dbx\dbxSelfTest\dbxSelfTestRunner\run_profile() und dbx\dbxSelfTest\dbxSelfTestRunner\start_run().

◆ $runner

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

◆ else

if ( $json) else
Initialisierung:
{
$totals = $run['totals']
$run
Definition run.php:16