Skip to content

Releases: nette/tester

Released version 1.2.0

11 Jun 17:57
@dg dg
Compare
Choose a tag to compare
  • 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

03 Apr 14:03
@dg dg
Compare
Choose a tag to compare
  • 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

08 Feb 17:44
@dg dg
Compare
Choose a tag to compare

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

30 Dec 20:12
@dg dg
Compare
Choose a tag to compare
  • Assert::error() can test more than one error
  • small fixes

For more information see readme.md.

Released version 0.9.4

11 Dec 02:54
@dg dg
Compare
Choose a tag to compare
  • you can watch multiple directories via --watch
  • a lot of fixes

For more information see readme.md.

Released version 0.9.3

07 Aug 09:09
@dg dg
Compare
Choose a tag to compare
  • 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, message diff file.expected file.actual is printed

For more information see readme.md.

Released version 0.9.2

19 Jul 16:20
@dg dg
Compare
Choose a tag to compare
  • 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 via Assert::$pattern and regular expressions
  • Assert::type accepts default PHP types
  • added new assertions Assert::matchFile, truthy and falsey

For more information see readme.md.

Released version 0.9.1

09 Jul 13:15
@dg dg
Compare
Choose a tag to compare

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.