All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
...
...
...
2.5.0 - 2024-11-30
- Added support for WebdriverClassicDriver Mink's Driver (supports Selenium 2, 3, 4) as
webdriver-classic.
2.4.0 - 2024-07-15
- Specify failed PHPUnit assertion text to the BrowserStack ("reason" field)/SauceLabs("custom-data" field) test.
- Added the
$auto_createparameter to theBrowserTestCase::getSessionmethod, which allows to verify if session is already started. - Added the
ISessionStrategy::isFreshSessionmethod to indicate fact, that previousISessionStrategy::sessioncall has created a new session instead of reusing a previously created one. Can be used to perform a login once per a test case class.
- Bumped minimum PHP version to 5.6.
- Changed default OS from "Windows 7" to "Windows 10" for BrowserStack/SauceLabs browser configurations.
- Allow using self-signed/invalid SSL certificates during testing on the SauceLabs by default.
- Rewritten library object communication mechanism (the event dispatcher is no longer used). Update any custom session strategy/browser configuration implementations.
- Reduce memory consumption by rewriting
SessionStrategyFactoryandSessionStrategyManagerclasses. - (Not a BC break) Some public methods of the
BrowserTestCaseclass are protected now. Affected methods:setRemoteCoverageScriptUrl,setBrowser,getBrowser,setSessionStrategy,getSessionStrategy,getCollectCodeCoverageInformation,getRemoteCodeCoverageInformation. - (Not a BC break) Some protected properties of the
BrowserTestCaseclass are private now. Affected properties:sessionStrategyManager,remoteCoverageHelper,sessionStrategy. - Bumped minimal required
Behat/Minkversion to 1.8 (needed afterSessionProxyclass removal). - Shared session strategy now also closes popups left over from the previous test before switching back to the main window.
- Bumped minimal required
console-helpers/phpunit-compatversion to 1.0.3 to load classes through the custom autoloader script.
- The remote code coverage collection cookies were set even, when the remote code coverage script URL wasn't specified.
- The
BrowserTestCase::onTestSuiteEndedmethod was called for tests, excluded through the--filteroption of the PHPUnit.
2.3.0 - 2022-11-24
- 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 "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.
2.2.0 - 2016-06-26
- Added support for Guzzle 6 in
gouttedriver.
- 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.
...
2.1.1 - 2015-08-01
- Session sharing (for tests in same test case) wasn't working when test suite consisted from tests using both session strategies (isolated and shared).
2.1.0 - 2015-05-06
- 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
driverparameter).
- 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.
- The Sauce Labs and BrowserStack unit tests were executed even, when their credentials weren't specified in
phpunit.xml(affects contributors only).
2.0.1 - 2014-11-27
- Remote code coverage collection is now disabled by default.
- Attempt to use
@dataProviderannotation ended up in exception.
2.0.0 - 2014-08-09
- Added support for using custom browser configuration (the
BrowserConfigurationFactory::registermethod). - 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 default OS for Sauce Labs/BrowserStack from "Windows XP" to "Windows 7".
- Sessions were stopped prematurely, when test suite consisted of tests with different session strategies (e.g. one isolated and one shared).
1.1.0 - 2014-03-22
- Added
BrowserTestCase::createBrowserConfigurationmethod for creating instance of browser configuration class based on given parameters.
- 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
SauceLabsBrowserConfigurationclass now would throw an exception, when supplied driver instance isn't ofSelenium2Driverclass. - 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.
1.0.1 - 2013-11-12
- Use official Mockery repository with protected method mocking support.
- Initial release.