This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
Releases: zendframework/zend-test
Releases · zendframework/zend-test
zend-test 3.3.0
Added
-
#76 adds support for PHPUnit 8
Undesired PHPUnit update to ^8.0 can happen on PHP 7.2 and newer when relying on PHPUnit installation as an indirect dependency via zend-test.
Please always declare direct dependency onphpunit/phpunit
with suitable versions alongside withzendframework/zend-test
.PHPUnit 8 incompatible test suite typically would error after the update with messages like "Fatal error: Declaration of *::setUp() must be compatible with *::setUp(): void" for any of the following methods:
setUpBeforeClass()
tearDownAfterClass()
setUp()
tearDown()
Following command can be used to declare explicit dependency on older PHPUnit versions:
composer require --dev phpunit/phpunit:"^7.5.12 || ^6.5.14 || ^5.7.14" --update-with-dependencies
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-test 3.2.2
Added
- #75 adds support for PHP 7.3.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #74 reverts changes introduced in version 3.2.1 to how superglobals are reset
between tests, primarily by fixing the root problem -- base URL detection --
by requiring a zend-http version that fixes that detection.
zend-test 3.2.1
zend-test 3.2.0
zend-test 3.1.1
zend-test 3.1.0
zend-test 3.0.2
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #33 fixes
queryContentRegexAssertion()
(used byassertQueryContentRegex()
andassertXpathQueryContentRegex()
) properly checks all matching nodes for content matching the regular expression, instead of only the first. The prevents false negative assertions from occuring. - #21 updates the
sebastian/version
dependency to also allow v2.0 releases. - #31 fixes an issue with the
AbstractControllerTestCase
when used to test a console request. Previously, routes with multiple literal flags were never matched; they now are.
zend-test 3.0.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #26 fixes how
$traceErrors
works under PHP 7 and PHPUnit 5. Any zend-test-specific assertion failures now append a list of all exception messages to the base message when the flag is enabled.
zend-test 3.0.0
Added
- This release adds support for zend-mvc v3.
Deprecated
- Nothing.
Removed
- This release removes support for PHP versions
< 5.6
. - This release removes support for zend-mvc v2.
Fixed
- Nothing.
zend-test 2.6.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #20 updates the zend-mvc requirement to 2.7.1, ensuring deprecation notices will not occur in the majority of circumstances.