Releases: nette/tester
Releases · nette/tester
Released version 1.3.1
This release fixes some issues:
- FileMock: removed uniqid(), because is not unique #177
- HHVM: register_shutdown_handler() fixed in 3.4.0 #162
- CodeCoverage/template.phtml: suppressed error when datetime zone is not set #195
- Runner: stop-on-fail can be invoked by initial phase #185
- Environment::lock() allows multiple locks #201
For more information see documentation and changes.
Released version 1.3.0
- officially supports HHVM v3.3.0 (thanks to @Majkl578 & @milo)
- added option
-o
(output format) which can enumerate from:console
: the same as default, but logo is not printedtap
: replacement for the deprecated --tap option (Test Anything Protocol)none
: nothing is printed, only bad usage errors when occures
- removed dependency on iconv and json extensions
- refactoring of
Environment::setup()
and file tester.php - FileMock works with
is_readable
&is_writable
For more information see documentation and changelog.
Released version 1.2.0
- added option
--stop-on-fail
that stops execution upon first error - added FileMock for mocking files #137
- added Assert::count()
- DomQuery supports HTML 5
- DataProvider can use default values of target method #123
- allowed combination of annotations like
@testcase
,@multiple
or@dataprovider
- fixed some bugs in Coverage reporter
For more information see documentation and changelog.
Released version 1.1.0
- Tester: added options
--coverage
and--coverage-src
for generating code coverage reports (tool coverage-report.php was removed) - Tester uses 33 threads by default (instead of single thread)
- Tester: option
-log
changed to-l
or--log
to be consistent with other options - shows warning when no assertions are executed [Closes #112]
Assert::isEqual
can compare recursive objects [Closes #93]- added
Assert::nan()
- added PHAR (PHP Archive) distribution
- added
Tester\Environment::loadData()
for loading data via annotation@dataProvider
For more information see documentation and changelog.
Released version 1.0.0
Four years ago was added to the Nette Framework new simple unit test framework ;-) Now Nette Tester has become stable testing tool with integrated support in NetBeans 8.0 and lot of features:
- very easy and understandable API
- each test is a standalone PHP script
- fast parallel testing
- colorized and readable output, including TAP format
- code coverage analysis
- watching folders for changes and automatically re-run tests
- HTML output testing
For more information see readme.md.
Released version 0.9.5
Assert::error()
can test more than one error- small fixes
For more information see readme.md.
Released version 0.9.4
- you can watch multiple directories via
--watch
- a lot of fixes
For more information see readme.md.
Released version 0.9.3
- output in TAP format using
--tap
- added interface for custom output handlers
- smarter error messages, skips the same beginning part of compared strings
- supports file masks like
tester *.php
- when expected & actual variables are stored to
output/
subdirectory, messagediff file.expected file.actual
is printed
For more information see readme.md.
Released version 0.9.2
- much better colorized error messages!
- colors can be enabled or disabled by option
--colors
- added tests annotations
@exitCode
,@htmlCode
,@outputMatch
and@outputMatchFile
- added annotation
@throws
for TestCase Assert::match
is fully customizable viaAssert::$pattern
and regular expressionsAssert::type
accepts default PHP types- added new assertions
Assert::matchFile
,truthy
andfalsey
For more information see readme.md.
Released version 0.9.1
After 4 years of development Nette Tester has become stable testing tool with a lot of cool features:
- very easy and understandable API
- each test is a standalone PHP script
- fast parallel testing
- code coverage analysis
- watching folders for changes and automatically re-run tests
- colorized output
- HTML code testing
For more information see readme.md.