Skip to content

Releases: nette/tester

Released version 2.5.6

06 Aug 23:21
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.5
  • added HttpAssert
  • added Assert::notMatch()

Released version 2.5.5

19 Jun 18:33
@dg dg
Compare
Choose a tag to compare
  • 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

Released version v2.5.4

23 Oct 23:44
@dg dg
Compare
Choose a tag to compare
  • supports PHP 8.4
  • TestHandler: improve cache file uniqueness (#454)
  • DataProvider: parses INI files using INI_SCANNER_TYPED mode (BC break)

Released version 2.5.3

18 Jun 18:45
@dg dg
Compare
Choose a tag to compare
  • 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

Released version 2.5.2

21 Jan 16:29
@dg dg
Compare
Choose a tag to compare
  • Implemented console-lines mode which prints each test on separate line. (#443)
  • DomQuery: searches starting from current node
  • Environment::setupFunctions() creates global functions testException()

Released version 2.5.1

30 Jul 10:26
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.3
  • fixed accessed property before initialization (#441) (#442)
  • used get_debug_type()

Released version 2.5.0

06 Feb 15:42
@dg dg
Compare
Choose a tag to compare
  • 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

Released version 2.4.3

29 Aug 16:30
@dg dg
Compare
Choose a tag to compare
  • PHP 8.2 Support
  • CloverXMLGenerator: reports file name is case of parse error
  • Assert::exception() prints stack of unexpected exception

Released version 2.4.2

24 Mar 19:03
@dg dg
Compare
Choose a tag to compare
  • interrupt signal is converted to InterruptException and handled by CliTester
  • Dumper::dumpException() added option to change output file name via AssertException::$outputName
  • Environment: improved color detection
  • Dumper: improved encoding of strings, added colors
  • improved coding style

Released version 2.4.1

24 Aug 14:14
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.1
  • TestCase:prepareTestData(): check that every data provider item is array #431
  • added Assert::$expandPatterns to disable patterns expansion
  • TestHandler: mark tests with empty data provider as failed/skipped
  • template.phtml: uses native directory separator