PHPUnit-Mink Documentation

This library is an extension for PHPUnit, that allows to write tests with help of Mink.


This library allows to perform following things:

  • use Mink for browser session control
  • each test in a test case can use independent browser session
  • all tests in a test case can share browser session between them
  • Selenium server connection details are decoupled from tests using them
  • perform individual browser configuration for each test in a test case
  • support for Sauce Labs
  • remote code coverage collection

Each mentioned above features is described in more detail below.