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 2026Releases
latest 44-
v2.6.111 May 2026Release notes
Open source →- 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
LogicExceptioninstead 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
- PhpInterpreter now passes the command to
-
v2.6.022 Jan 2026Release notes
Open source →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.iniby 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()andtestException()lifecycle improvements – Both functions now properly callsetUp()andtearDown(), andtearDown()runs even when tests fail. Your cleanup code will actually clean up.- Added global function
testNoError()
- Tester now uses system
-
v2.5.722 Nov 2025Nothing published for this version
-
v2.5.607 Aug 2025 -
v2.5.519 Jun 2025Release notes
Open source →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
-
v2.5.423 Oct 2024Release notes
Open source →- supports PHP 8.4
- TestHandler: improve cache file uniqueness (#454)
- DataProvider: parses INI files using INI_SCANNER_TYPED mode (BC break)
-
v2.5.318 Jun 2024 -
v2.5.208 Jan 2024Release notes
Open source →- Implemented
console-linesmode which prints each test on separate line. (#443) - DomQuery: searches starting from current node
Environment::setupFunctions()creates global functionstestException()
- Implemented
-
v2.5.130 Jul 2023 -
v2.5.002 Mar 2023Release notes
Open source →- 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
-
v2.4.329 Aug 2022Nothing published for this version
-
v2.4.224 Mar 2022Nothing published for this version
-
v2.4.124 Aug 2021Nothing published for this version
-
v2.4.001 Mar 2021Nothing published for this version
-
v2.3.531 Jan 2021Nothing published for this version
-
v2.3.402 Nov 2020Nothing published for this version
-
v2.3.320 Jul 2020Nothing published for this version
-
v2.3.206 Mar 2020Nothing published for this version
-
v2.3.119 Nov 2019Nothing published for this version
-
v2.3.011 Aug 2019Nothing published for this version
-
v2.2.011 Mar 2019Nothing published for this version
-
v2.1.010 Oct 2018Nothing published for this version
-
v2.0.207 Jun 2018Nothing published for this version
-
v2.0.107 Feb 2018Nothing published for this version
-
v2.0.022 Aug 2017Nothing published for this version
-
v1.7.201 Jun 2018Nothing published for this version
-
v1.7.119 Mar 2016Nothing published for this version
-
v1.7.008 Feb 2016Nothing published for this version
-
v1.6.126 Oct 2015Nothing published for this version
-
v1.6.019 Oct 2015Nothing published for this version
-
v1.5.016 Jul 2015Nothing published for this version
-
v1.4.027 Mar 2015Nothing published for this version
-
v1.3.208 Feb 2015Nothing published for this version
-
v1.3.127 Jan 2015Nothing published for this version
-
v1.3.027 Sep 2014Nothing published for this version
-
v1.2.011 Jun 2014Nothing published for this version
-
v1.1.002 Apr 2014Nothing published for this version
-
v1.0.008 Feb 2014Nothing published for this version
-
v0.9.530 Dec 2013Nothing published for this version
-
v0.9.411 Dec 2013Nothing published for this version
-
v0.9.307 Aug 2013Nothing published for this version
-
v0.9.220 Jul 2013Nothing published for this version
-
v0.9.112 Jul 2013Nothing published for this version
-
v0.9.015 Nov 2012Nothing published for this version