Skip to content

Commit

Permalink
Always print random seed in test result header
Browse files Browse the repository at this point in the history
  • Loading branch information
epdenouden authored and sebastianbergmann committed Feb 7, 2019
1 parent 964c6f9 commit 890a226
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/TextUI/TestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,13 +338,6 @@ public function doRun(Test $suite, array $arguments = [], bool $exit = true): Te

$this->writeMessage('Runtime', $runtime);

if ($arguments['executionOrder'] === TestSuiteSorter::ORDER_RANDOMIZED) {
$this->writeMessage(
'Random seed',
$arguments['randomOrderSeed']
);
}

if (isset($arguments['configuration'])) {
$this->writeMessage(
'Configuration',
Expand All @@ -367,6 +360,13 @@ public function doRun(Test $suite, array $arguments = [], bool $exit = true): Te
}
}

if ($arguments['executionOrder'] === TestSuiteSorter::ORDER_RANDOMIZED) {
$this->writeMessage(
'Random seed',
$arguments['randomOrderSeed']
);
}

if (isset($tooFewColumnsRequested)) {
$this->writeMessage('Error', 'Less than 16 columns requested, number of columns set to 16');
}
Expand Down

0 comments on commit 890a226

Please sign in to comment.