Skip to content

Releases: lucatume/wp-browser

2.2.17

31 Jul 16:34

Choose a tag to compare

Fixed

  • eager instantiation of WordPress factories causing warnings (#281)

2.2.16

24 Jul 04:08

Choose a tag to compare

Added

  • expose a tad\WPBrowser\Module\WPLoader\FactoryStore instance on the $tester property when loading the WPLoader module with loadOnly: false.

Fixed

  • add explicit override of the $tester property when scaffolding the WPTestCase class (thanks @Luc45)

2.2.15

28 Jun 12:12

Choose a tag to compare

Fixed

  • call Codeception\Test\Unit setup methods in WPTestCase to provide Codeception Unit testing facilities in "WordPress unit" test cases [#261 #262 ]

2.2.14

14 Jun 07:55

Choose a tag to compare

Fixed

  • remove left-over %WP_URL% from generated configuration files when runnin codecept init wpbrowser and replace it with %TEST_SITE_WP_URL% (thanks @HendrikRoehm)

2.2.13

13 Jun 09:19

Choose a tag to compare

Fixed

  • when the WPLoader module is set to loadOnly mode and used in conjunction with a *Db module delay its load after all other modules ran their _beforeSuite action; this tackles an issue only partially resolved in 2.2.8 (thanks @Luc45)

2.2.12

10 Jun 10:36
c495d5f

Choose a tag to compare

Fixed

  • make sure Cron is disabled while WPLoader module is installing WordPress in isolation (default mode)

2.2.11

06 Jun 20:34
2c79aa7

Choose a tag to compare

Added

  • support for timeout parameter in WPCLI module configuration

2.2.8

20 May 12:27

Choose a tag to compare

Changed

  • updated requirement of codeception/codeception to include version 3.0
  • updated WPTestCase to handle PHPUnit version 8.0+ compatibility
  • internalized the classes and functions provided by the lucatume/wp-browser-commons package

Fixed

  • initialize the WPLoader module after all other modules initialized when loadOnly is true to avoid WordPress exiting due to a non-initialized database fixture

2.2.7

09 May 13:12

Choose a tag to compare

Changed

  • replaced wp-cli/wp-cli:1.1.* dependecy with the wp-cli/wp-cli-bundle:^2.0 one

2.2.1

04 Sep 15:25

Choose a tag to compare

Added

  • the tad\WPBrowser\slug function to create the slug version of a string
  • the tad\WPBrowser\buildCommandLine function to generate a Symfony Process compatible command line (array format) from a string one
  • the tad\WPBrowser\renderString function to render a string in the Handlebars format from data
  • the WPCLI::cliToString method to get a wp-cli command output as string, fixes #297

Changed

  • removed the bacon/bacon-string-utils dependency
  • added support for custom extra arguments to the WPCLI module, see documentation, fixes #295
  • replaced the xamin/handlebars.php dependency with the zordius/lightncandy one

Fixed

  • lazy evaluation of the WordPress path in WPCLI module, fixes #294
  • correct evaluation of command exit status in WPCLI module, fixes #296