@dg dg released this Jun 7, 2018 · 17 commits to master since this release

Assets 3
  • FileMutator: fixes
  • Assert::error() accepts array of E_XXXX without error message
  • DomQuery: added missing error suppression for (#385)

For more information see documentation and changelog.

@milo milo released this Jun 2, 2018 · 142 commits to master since this release

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

@dg dg released this Feb 7, 2018 · 25 commits to master since this release

Assets 3
  • fixed FileMutator

For more information see documentation and changelog.

@milo milo released this Aug 22, 2017 · 30 commits to master since this release

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

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

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

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

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

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

Assets 3

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

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

For more information see documentation and changelog.

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

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

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

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

@dg dg released this Mar 30, 2015 · 218 commits to master since this release

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