Skip to content

Releases: minkphp/phpunit-mink

v2.3.0

24 Nov 15:04
2f80d83
Compare
Choose a tag to compare

Changed

  • Bumped minimum PHPUnit version to 4.8.35 or 5.4.3.
  • Added support for PHPUnit 6.x, PHPUnit 7.x, PHPUnit 8.x and PHPUnit 9.x versions.
  • Use namespaced class versions of PHPUnit.
  • Bumped minimum PHP version to 5.4.7.
  • Test case configuration method renamed from "BrowserTestCase::setUp" into "BrowserTestCase::setUpTest".

Fixed

  • Fixed "PHP Strict standards" notice when used with PHPUnit 5+.
  • Fixed issue with BrowserStack, that caused PHPUnit test result not being reported into the BrowserStack due their API changes.

v2.2.0

26 Jun 09:08
Compare
Choose a tag to compare

Added

  • Added support for Guzzle 6 in goutte driver.

Changed

  • Start sessions only, when somebody requests them.
  • Allow using PHPUnit 4.x or PHPUnit 5.x and Symfony 3.0.
  • Dependency on Pimple is removed, which allowed library to be used on projects using any of Pimple version (even 1.0) themselves.

v2.1.1

01 Aug 11:40
Compare
Choose a tag to compare

Fixed

  • Session sharing (for tests in same test case) wasn't working when test suite consisted from tests using both session strategies (isolated and shared).

v2.1.0

06 May 13:41
Compare
Choose a tag to compare

Added

  • Complete integration with BrowserStack (includes tunnel creation).
  • Tunnel identifier can be specified through PHPUNIT_MINK_TUNNEL_ID, when for Sauce Labs or BrowserStack browser configurations are used.
  • Allow specifying Mink driver to use within browser configuration (the new driver parameter).

Changed

  • Allow library to be used in projects with either Pimple 2.x or Pimple 3.x installed.
  • The tunnel isn't automatically created, when using Sauce Labs or BrowserStack browser configuration and running test suite on Travis CI.

Fixed

  • The Sauce Labs and BrowserStack unit tests were executed even, when their credentials weren't specified in phpunit.xml (affects contributors only).

v2.0.1

27 Nov 18:41
Compare
Choose a tag to compare

Changed

  • Remote code coverage collection is now disabled by default.

Fixed

  • Attempt to use @dataProvider annotation ended up in exception.

v2.0.0

09 Aug 12:11
Compare
Choose a tag to compare

Added

  • Added support for using custom browser configuration (the BrowserConfigurationFactory::register method).
  • Adding BrowserStack testing service support (experimental).
  • Allow running testing using "Sauce Labs" and "BrowserStack" on Travis CI.
  • Allow using SauceConnect (secure tunnel creation to the Sauce Labs servers) on Travis CI, when Sauce Labs browser configuration is used.
  • Added support for HHVM.

Changed

  • Changed default OS for Sauce Labs/BrowserStack from "Windows XP" to "Windows 7".

Fixed

  • Sessions were stopped prematurely, when test suite consisted of tests with different session strategies (e.g. one isolated and one shared).

v1.1.0

09 Aug 11:55
Compare
Choose a tag to compare

Added

  • Added BrowserTestCase::createBrowserConfiguration method for creating instance of browser configuration class based on given parameters.

Changed

  • Use DIC (dependency injection container) to organize interactions between library modules.
  • When unknown parameters are specified during browser configuration creation an exception is thrown.
  • The SauceLabsBrowserConfiguration class now would throw an exception, when supplied driver instance isn't of Selenium2Driver class.
  • The remote code coverage code made more reusable/testable through usage of OOP approach.
  • Allow using both PHPUnit 3.x and PHPUnit 4.x versions.

v1.0.1

12 Nov 11:16
Compare
Choose a tag to compare

Changed

  • Use official Mockery repository with protected method mocking support.

v1.0.0

09 Aug 10:44
Compare
Choose a tag to compare

Added

  • Initial release.