80 lines
3.7 KiB
Markdown
80 lines
3.7 KiB
Markdown
# Changes in PHPUnit 5.6
|
|
|
|
All notable changes of the PHPUnit 5.6 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
|
|
|
|
## [5.6.8] - 2016-12-02
|
|
|
|
### Fixed
|
|
|
|
* Fixed [#1976](https://github.com/sebastianbergmann/phpunit/issues/1976): `str_repeat()` error when using lowest dependencies
|
|
|
|
## [5.6.7] - 2016-11-28
|
|
|
|
### Changed
|
|
|
|
* The logic for not performing the check for unintentionally covered code on `@medium` and `@large` tests has been moved to `php-code-coverage`
|
|
|
|
## [5.6.6] - 2016-11-28
|
|
|
|
### Fixed
|
|
|
|
* Fixed [#2367](https://github.com/sebastianbergmann/phpunit/pull/2367): Bug in `PHPUnit_Util_Test::parseAnnotationContent()`
|
|
* Fixed [#2375](https://github.com/sebastianbergmann/phpunit/issues/2375): Invalid regular expression for `--filter` causes PHP warning
|
|
|
|
## [5.6.5] - 2016-11-21
|
|
|
|
### Fixed
|
|
|
|
* Fixed [#2366](https://github.com/sebastianbergmann/phpunit/issues/2366): Using a test double from a data provider only works once
|
|
|
|
### Changed
|
|
|
|
Bumped the required versions of `sebastian/comparator`, `sebastian/exporter`, and `sebastian/enumerator`
|
|
|
|
## [5.6.4] - 2016-11-18
|
|
|
|
### Fixed
|
|
|
|
* Fixed [#2361](https://github.com/sebastianbergmann/phpunit/issues/2361): Conflict with newer versions of `sebastian/recursion-context`
|
|
|
|
## [5.6.3] - 2016-11-14
|
|
|
|
### Fixed
|
|
|
|
* Improved the fix for [#1955](https://github.com/sebastianbergmann/phpunit/issues/1955): Process isolation fails when running tests with `phpdbg -qrr`
|
|
|
|
## [5.6.2] - 2016-10-25
|
|
|
|
New PHAR release due to updated dependencies
|
|
|
|
## [5.6.1] - 2016-10-07
|
|
|
|
### Fixed
|
|
|
|
* Fixed [#2320](https://github.com/sebastianbergmann/phpunit/issues/2320): Conflict between `PHPUnit_Framework_TestCase::getDataSet()` and `PHPUnit_Extensions_Database_TestCase::getDataSet()`
|
|
|
|
## [5.6.0] - 2016-10-07
|
|
|
|
### Added
|
|
|
|
* Merged [#2240](https://github.com/sebastianbergmann/phpunit/pull/2240): Provide access to a test case's data set (for use in `setUp()`, for instance)
|
|
* Merged [#2262](https://github.com/sebastianbergmann/phpunit/pull/2262): Add the `PHPUnit_Framework_Constraint_DirectoryExists`, `PHPUnit_Framework_Constraint_IsReadable`, and `PHPUnit_Framework_Constraint_IsWritable` constraints as well as the `assertIsReadable()`, `assertNotIsReadable()`, `assertIsWritable()`, `assertNotIsWritable()`, `assertDirectoryExists()`, `assertDirectoryNotExists()`, `assertDirectoryIsReadable()`, `assertDirectoryNotIsReadable()`, `assertDirectoryIsWritable()`, `assertDirectoryNotIsWritable()`, `assertFileIsReadable()`, `assertFileNotIsReadable()`, `assertFileIsWritable()`, and `assertFileNotIsWritable()` assertions
|
|
* Added `PHPUnit\Framework\TestCase::createConfiguredMock()` based on [idea](https://twitter.com/kriswallsmith/status/763550169090625536) by Kris Wallsmith
|
|
* Added the `@doesNotPerformAssertions` annotation for excluding a test from the "useless test" risky test check
|
|
|
|
### Changed
|
|
|
|
* Deprecated `PHPUnit\Framework\TestCase::setExpectedExceptionRegExp()`
|
|
* `PHPUnit_Util_Printer` no longer optionally cleans up HTML output using `ext/tidy`
|
|
|
|
[5.6.8]: https://github.com/sebastianbergmann/phpunit/compare/5.6.7...5.6.8
|
|
[5.6.7]: https://github.com/sebastianbergmann/phpunit/compare/5.6.6...5.6.7
|
|
[5.6.6]: https://github.com/sebastianbergmann/phpunit/compare/5.6.5...5.6.6
|
|
[5.6.5]: https://github.com/sebastianbergmann/phpunit/compare/5.6.4...5.6.5
|
|
[5.6.4]: https://github.com/sebastianbergmann/phpunit/compare/5.6.3...5.6.4
|
|
[5.6.3]: https://github.com/sebastianbergmann/phpunit/compare/5.6.2...5.6.3
|
|
[5.6.2]: https://github.com/sebastianbergmann/phpunit/compare/5.6.1...5.6.2
|
|
[5.6.1]: https://github.com/sebastianbergmann/phpunit/compare/5.6.0...5.6.1
|
|
[5.6.0]: https://github.com/sebastianbergmann/phpunit/compare/5.5...5.6.0
|
|
|