Skip to content

Latest commit

 

History

History
51 lines (48 loc) · 3.52 KB

CHANGELOG-2.5.md

File metadata and controls

51 lines (48 loc) · 3.52 KB

2.5.1

  • Recorder extension improvements by @OneEyedSpaceFish. See #5177:
    • HTML layout improvements
    • Restructured tests to show nested output
    • file operation exceptions / log them without throwing exceptions
    • fix edge cases with file operations (too long wantTo, etc.)
    • the ability to automatically purge old reports (from previous runs)
    • display errors in the recorded page rather than saving it as error.png
    • the ability not to display any Unicode characters if ANSI only output is requested
    • the ability not to display any colors in output if no-colors is requested
    • the ability to change colors in the generated list based on configuration
  • [Db] Made _loadDump unconditional like it was in 2.4. Fixed #5195 by @Naktibala
  • [Db] Allows to specify more than one dump file. See #5220 by @Fenikkusu
  • [WebDriver] Added waitForElementClickable by @FatBoyXPC
  • Code coverage: added work_dir config option to map remote paths to local. See #5225 by @Fenikkusu
  • [Lumen] Added Lumen 5.5+ support for getRoutes method by @lendormi
  • [Yii2] Restored getApplication() API by @Slamdunk
  • [Yii2] Added deprecation doc to getApplication() by @Slamdunks
  • [Doctrine2] Reloading module on reconfigure to persist new configs. See #5241 by @joelmedeiros
  • [Doctrine2] Rollback all nested transactions created within test by @Dukecz
  • [DataFactory] Reloading module on reconfigure to persist new configs. See #5241 by @joelmedeiros
  • [Phalcon] Allows null content in response. By @Fenikkusu
  • [Phalcon] Added session config option to override session class. By @Fenikkusu
  • [Asserts] Added expectThrowable() method by @burned42
  • Use *.yaml for params loading

2.5.0

  • Snapshot testing introduced. Test dynamic data sets by comparing current values with previously saved ones.
  • [Db] Multi database support. See #4857 by @eXorus
    • amConnectedToDatabase method added.
    • performInDatabase method added.
  • Rerun tests in shuffle mode in the same order by setting seed value. By @SamMousa
  • [PhpBrowser][Frameworks] Breaking Change seeLink now matches the end of a URL, instead of partial matching. By @Slamdunk
    • Previous: $I->seeLink('Delete','/post/1'); matches <a href="/post/199">Delete</a>
    • Now: $I->seeLink('Delete','/post/1'); does NOT match <a href="/post/199">Delete</a>
  • [WebDriver] Keep coverage cookies in loadSessionSnapshot. Fix by @rajras
  • [Yii2] Prevent null pointer exception by @SilverFire. See #5136
  • [Yii2] Fixed issue with empty response stream by @SamMousa.
  • [Yii2] Fixed Too many connections issue #4926. By @roslov
  • [Yii2] Fixed #4769: amLoggedInAs() throws TypeError. By @SamMousa
  • [Recorder Extension] Fixing recorder extension issues caused by phpunit 7.2.7 update by @OneEyedSpaceFish
  • [Logger Extension] Added codecept_log function to write to logs from any place. Fixes #3551 by @siad007
  • [WebDriver] Report correct strict locator in error message. When see() and dontSee() are used with array selector. Fix by @Naktibalda.
  • [Phalcon] Use bind for find record. See #5158 by @Joilson
  • [Phalcon] Add support for nullable fields in findRecord() by @arjanwestdorp
  • Added memory_limit to dry-run command by @siad007. Fixes #5090
  • Added ext-curl to the composer require section by @siad007
  • Make coverage: show_only_summary configurable. See #5142 by @Quexer69
  • Ensure php extension mbstring is available by @siad007. Fixes #4575