Skip to content

Commit

Permalink
Merge branch '8.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 7, 2019
2 parents 2aa84b3 + aff13c0 commit 5801375
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
7 changes: 7 additions & 0 deletions ChangeLog-7.5.md
Expand Up @@ -2,6 +2,12 @@

All notable changes of the PHPUnit 7.5 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## [7.5.5] - 2019-MM-DD

### Fixed

* Fixed [#3515](https://github.com/sebastianbergmann/phpunit/issues/3515): Random order seed is only printed in verbose mode

## [7.5.4] - 2019-02-07

### Fixed
Expand Down Expand Up @@ -57,6 +63,7 @@ All notable changes of the PHPUnit 7.5 release series are documented in this fil
* Fixed [#3429](https://github.com/sebastianbergmann/phpunit/pull/3429): Inefficient loop in `getHookMethods()`
* Fixed [#3437](https://github.com/sebastianbergmann/phpunit/pull/3437): JUnit logger skips PHPT tests

[7.5.5]: https://github.com/sebastianbergmann/phpunit/compare/7.5.4...7.5.5
[7.5.4]: https://github.com/sebastianbergmann/phpunit/compare/7.5.3...7.5.4
[7.5.3]: https://github.com/sebastianbergmann/phpunit/compare/7.5.2...7.5.3
[7.5.2]: https://github.com/sebastianbergmann/phpunit/compare/7.5.1...7.5.2
Expand Down
7 changes: 7 additions & 0 deletions ChangeLog-8.0.md
Expand Up @@ -2,6 +2,12 @@

All notable changes of the PHPUnit 8.0 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## [8.0.3] - 2019-MM-DD

### Fixed

* Fixed [#3515](https://github.com/sebastianbergmann/phpunit/issues/3515): Random order seed is only printed in verbose mode

## [8.0.2] - 2019-02-07

### Fixed
Expand Down Expand Up @@ -45,6 +51,7 @@ All notable changes of the PHPUnit 8.0 release series are documented in this fil
* Implemented [#2762](https://github.com/sebastianbergmann/phpunit/issues/2762): Drop support for PHP 7.1
* Implemented [#3123](https://github.com/sebastianbergmann/phpunit/issues/3123): Remove `PHPUnit_Framework_MockObject_MockObject`

[8.0.3]: https://github.com/sebastianbergmann/phpunit/compare/8.0.2...8.0.3
[8.0.2]: https://github.com/sebastianbergmann/phpunit/compare/8.0.1...8.0.2
[8.0.1]: https://github.com/sebastianbergmann/phpunit/compare/8.0.0...8.0.1
[8.0.0]: https://github.com/sebastianbergmann/phpunit/compare/7.5...8.0.0
Expand Down
14 changes: 7 additions & 7 deletions src/TextUI/TestRunner.php
Expand Up @@ -329,13 +329,6 @@ public function doRun(Test $suite, array $arguments = [], bool $exit = true): Te
if ($arguments['verbose']) {
$this->writeMessage('Runtime', $this->runtime->getNameWithVersionAndCodeCoverageDriver());

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

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

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

if (isset($tooFewColumnsRequested)) {
$this->writeMessage('Error', 'Less than 16 columns requested, number of columns set to 16');
}
Expand Down
Expand Up @@ -5,7 +5,6 @@ phpunit --order-by=depends,random --random-order-seed=54321 ../_files/MultiDepen
$arguments = [
'--no-configuration',
'--debug',
'--verbose',
'--order-by=depends,random',
'--random-order-seed=54321',
'MultiDependencyTest',
Expand All @@ -19,7 +18,6 @@ PHPUnit\TextUI\Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

Runtime: %s
Random seed: 54321

Test 'MultiDependencyTest::testTwo' started
Expand Down

0 comments on commit 5801375

Please sign in to comment.