PackageTrack
Sign in Get early access

nette/tester

Nette Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏

v2.6.1 7.7M downloads/mo #2629 most downloaded on Packagist nette/tester

What this package is like to depend on

Last release 3 months ago

11 May 2026

Ships fairly regularly

a new release about every 5 months

Rarely documented

notes for 9 of 44 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

44 releases · first in 2012

3 releases in the last 12 months

see the full history below

Release timeline

44 releases · Nov 2012 to May 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 44
  1. v2.6.1 11 May 2026
    Release notes
    • PhpInterpreter now passes the command to proc_open() as an array, so PHP handles argument escaping itself and the subshell is bypassed on Linux too – fewer surprises with paths and arguments containing spaces or special characters
    • Test::getResult() throws a LogicException instead of silently returning an unset value when the test hasn't finished running yet – mistakes surface immediately rather than turning into puzzling downstream errors
    • Improved PHPDoc types and descriptions throughout the framework for better IDE hints and static analysis
    Open source →
  2. v2.6.0 22 Jan 2026
    Release notes

    This release brings true parallel test execution on Windows, smarter PHP configuration handling, and a bunch of quality-of-life improvements. The headline: Tester now respects your system php.ini by default, which is a breaking change but makes the "it works on my machine" debugging sessions a lot shorter.

    Breaking Changes

    • Tester now uses system php.ini by default (#465)

    Improvements

    • Parallel execution on Windows finally works properly – PHP 8.5's stream_select() fix means Windows users can now enjoy actual parallelism, not just the illusion of it.
    • Fixed output loss on fast-exiting processes – A race condition could swallow test output when processes finished too quickly. Your test results now survive speed.

    New Features

    • test() and testException() lifecycle improvements – Both functions now properly call setUp() and tearDown(), and tearDown() runs even when tests fail. Your cleanup code will actually clean up.
    • Added global function testNoError()
    Open source →
  3. v2.5.7 22 Nov 2025

    Nothing published for this version

  4. v2.5.6 07 Aug 2025
    Release notes
    • support for PHP 8.5
    • added HttpAssert
    • added Assert::notMatch()
    Open source →
  5. v2.5.5 19 Jun 2025
    Release notes
    • Dumper::toPhp() prints enum case directly (#457)
    • DomQuery: uses PHP 8.4 HTML DOM
    • added DomQuery::closest()
    • DomQuery:: fixed UTF-8 handling
    • DomQuery:: supports :scope
    • optimized global function calls
    Open source →
  6. v2.5.4 23 Oct 2024
    Release notes
    • supports PHP 8.4
    • TestHandler: improve cache file uniqueness (#454)
    • DataProvider: parses INI files using INI_SCANNER_TYPED mode (BC break)
    Open source →
  7. v2.5.3 18 Jun 2024
    Release notes
    • Add testcase method's name to the test's title. (#451)
    • TestCase: removed NULL byte from class names, thx @smuuf #450 #449
    • added DomQuery::matches()
    • code coverage: fix compatibility with PHP 8.3 #446
    • test(): checks count of arguments
    Open source →
  8. v2.5.2 08 Jan 2024
    Release notes
    • Implemented console-lines mode which prints each test on separate line. (#443)
    • DomQuery: searches starting from current node
    • Environment::setupFunctions() creates global functions testException()
    Open source →
  9. v2.5.1 30 Jul 2023
    Release notes
    • support for PHP 8.3
    • fixed accessed property before initialization (#441) (#442)
    • used get_debug_type()
    Open source →
  10. v2.5.0 02 Mar 2023
    Release notes
    • requires PHP 8.0
    • added PHP 8 typehints
    • Capture stderr of test via temp file and output it in test results [Closes #420] (#438)
    • Environment::setupFunctions() creates global functions test(), setUp() & tearDown()
    • TestCase: lists the running methods
    • Assert::equal() added flags $matchOrder & $matchIdentity
    • constants are PascalCase
    • Dumper & Assert: dumps true/false/null in lowercase
    Open source →
  11. v2.4.3 29 Aug 2022

    Nothing published for this version

  12. v2.4.2 24 Mar 2022

    Nothing published for this version

  13. v2.4.1 24 Aug 2021

    Nothing published for this version

  14. v2.4.0 01 Mar 2021

    Nothing published for this version

  15. v2.3.5 31 Jan 2021

    Nothing published for this version

  16. v2.3.4 02 Nov 2020

    Nothing published for this version

  17. v2.3.3 20 Jul 2020

    Nothing published for this version

  18. v2.3.2 06 Mar 2020

    Nothing published for this version

  19. v2.3.1 19 Nov 2019

    Nothing published for this version

  20. v2.3.0 11 Aug 2019

    Nothing published for this version

  21. v2.2.0 11 Mar 2019

    Nothing published for this version

  22. v2.1.0 10 Oct 2018

    Nothing published for this version

  23. v2.0.2 07 Jun 2018

    Nothing published for this version

  24. v2.0.1 07 Feb 2018

    Nothing published for this version

  25. v2.0.0 22 Aug 2017

    Nothing published for this version

  26. v1.7.2 01 Jun 2018

    Nothing published for this version

  27. v1.7.1 19 Mar 2016

    Nothing published for this version

  28. v1.7.0 08 Feb 2016

    Nothing published for this version

  29. v1.6.1 26 Oct 2015

    Nothing published for this version

  30. v1.6.0 19 Oct 2015

    Nothing published for this version

  31. v1.5.0 16 Jul 2015

    Nothing published for this version

  32. v1.4.0 27 Mar 2015

    Nothing published for this version

  33. v1.3.2 08 Feb 2015

    Nothing published for this version

  34. v1.3.1 27 Jan 2015

    Nothing published for this version

  35. v1.3.0 27 Sep 2014

    Nothing published for this version

  36. v1.2.0 11 Jun 2014

    Nothing published for this version

  37. v1.1.0 02 Apr 2014

    Nothing published for this version

  38. v1.0.0 08 Feb 2014

    Nothing published for this version

  39. v0.9.5 30 Dec 2013

    Nothing published for this version

  40. v0.9.4 11 Dec 2013

    Nothing published for this version

  41. v0.9.3 07 Aug 2013

    Nothing published for this version

  42. v0.9.2 20 Jul 2013

    Nothing published for this version

  43. v0.9.1 12 Jul 2013

    Nothing published for this version

  44. v0.9.0 15 Nov 2012

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive