Releases: nette/tester
Released version 2.3.2
Released version 2.3.1
Released version 2.3.0
- watch mode: changed files are detected by filemtime
- added
Assert::notNull()
FileMutator
fixes- test result is printed when run as a standalone script
Released version 2.2.0
--watch
mode recovers from errors (e.g. missing file)- fixes in
FileMutator
(duringscandir()
or recursivemkdir()
) Assert::noError()
throws exception when called with more than one parameter- added
Expect
for complex assertions formulation (#398) Helper::purge()
protection to not purge root directory (#392)- added method
Runner::addPhpIniOption()
to be able set PHP INI option from--setup
script - added PCOV support (#396) (thanks to @trejjam)
For more information see documentation and changelog.
Released version 2.1.0
Minimal PHP version since this release is 7.1. That's actually the main reason for this release.
-
Internal code improvements
- used PHP 7.1 features
- added PHP 7.1 typehints
- strict types usage
-
Bypass finals respects
final
as a literal -
Added notification when empty code coverage report data
-
The
--coverage-src
option is repeatable (#388)
For more information see documentation and changelog.
Released version 2.0.2
- FileMutator: fixes
- Assert::error() accepts array of E_XXXX without error message
- DomQuery: added missing error suppression for
For more information see documentation and changelog.
Released version 1.7.2 (the last 1.x)
- fixed PHP 7.2 compatibility
This release is the last in the 1.x series. It is compatible with PHP 5.4 - 7.2.
The following 2.0 series, even marked as compatibility breaking, has very good compatibility, but supports PHP from version 5.6.
For more information see documentation and changelog.
Released version 2.0.1
- fixed FileMutator
For more information see documentation and changelog.
Released version 2.0.0
- Compatibility
- required PHP 5.6 and supports PHP up to 7.2
- dropped support for HHVM
- default interpreter is CLI, used to be CGI
- Handle
*Test.php
as a test files too - Added
-C
option to use system-wide php.ini - Added
--temp
option - Last time failing tests run as first
- Fixed FileMock in append mode
- Added environmental variable Environment::THREAD
- Added
@phpExtension
test file annotation - Added
%w%
and%%
modifiers for Assert::match() - Assert::match() replaces modifiers by matching values in output
- Assert::exception() prints stack trace when unexpected exception is thrown
- TestCase::tearDown() called even after test method error
- TestCase::run() does not accept arguments, use TestCase::runTest() instead
- Added CodeCoverage\Collector::flush()
- Code coverage HTML template facelift
- (many other small fixes and improvements)
For more information see documentation and changelog.
Released version 1.7.1
- Tester itself is tested on AppVeyor (Windows CI)
- Dumper
- dumpException() stores strings when maxLength is exceeded
- dumpException() improved searching for Assert method invocation
- Dumper::color() uses simple color escape codes (AppVeyor compatibility)
- Environment: removes output buffers on shutdown before error message is print
- Assert::error() fixed that restore_error_handler() isn't working when called from the error handler which throws exception
- FileMock: read/write modes behave more like ordinary filesystem
For more information see documentation and changelog.