Released version 1.7.1

@milo milo released this Mar 19, 2016 · 66 commits to master since this release

  • 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

Downloads

Released version 1.7.0

@milo milo released this Feb 8, 2016 · 78 commits to master since this release

  • HtmlGenerator: not evaluated sources are counted as not covered #248
  • TestCase
    • data provider can return Traversable #272
    • error handler is registered only once #268
    • data provider file may start by dot
  • Dumper
    • print object hash #277
    • fixed dumping INF in PHP 7.0.2
    • toLine() improved empty array dump
    • dumpException() prints source line where Assert is called
  • Added support for PHPDBG SAPI #258
  • CodeCoverage: added support for PHPDBG collector as Xdebug alternative
  • DataProvider: added support for .php provider #280
  • Environment: variable term=xterm-256color enables colors
  • FileMock: added unlink()

For more information see documentation and changelog.

Downloads

Released version 1.6.1

@milo milo released this Oct 26, 2015 · 99 commits to master since this release

This release fixes issue of TestCase::tearDown() double calling:

  • TestCase: ignore muted errors in testMethod() #266

For more information see documentation and changelog.

Downloads

Released version 1.6.0

@dg dg released this Oct 19, 2015 · 101 commits to master since this release

  • Assert: added noError() assertion #250
  • Assert: added custom fail descriptions
  • TestCase: annotation @throws is applied to testMethods() only, not to setUp() nor tearDown() (BC break) #238
  • TestCase: is not masking setUp() and tearDown() exceptions
  • TestCase: tearDown() is called even on error in test method #254 #255
  • CliTester: explicit html_errors=off for TAP & Junit outputs #256
  • Dumper::toPhp() better support for anonymous classes and Closures

For more information see documentation and changelog.

Downloads

Released version 1.5.0

@dg dg released this Jul 16, 2015 · 119 commits to master since this release

  • support for PHP7 Throwable
  • added Job::getErrorOutput() & PhpInterpreter::getErrorOutput() for PHP startup errors [Closes #229][Closes #230]
  • CloverXMLGenerator: fixed report statements from not loaded files [Closes #220]
  • DomQuery: fixed css2xpath for brackets in selector [Closes #235]

For more information see documentation and changelog.

Downloads

Released version 1.4.0

@dg dg released this Mar 27, 2015 · 142 commits to master since this release

  • generates code coverage report in Clover XML format (via tester --coverage coverage.xml)
  • generates test reports in JUnit XML format (via tester -o junit)
  • source code moved from Tester to src
  • improved Xdebug detection
  • Environment: acquires lock() only if not exist #201

For more information see documentation and changelog.

Downloads

Released version 1.3.2

@dg dg released this Feb 8, 2015 · 160 commits to master since this release

This release fixes some minor issues. For more information see documentation and changes.

Downloads

Released version 1.3.1

@dg dg released this Jan 27, 2015 · 164 commits to master since this release

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.

Downloads

Released version 1.3.0

@dg dg released this Sep 27, 2014 · 185 commits to master since this release

  • 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 printed
    • tap: 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.

Downloads

Released version 1.2.0

@dg dg released this Jun 11, 2014 · 218 commits to master since this release

  • 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.

Downloads