behat/mink-bundle

Mink bundle for Symfony2

Installs: 51 035

Dependents: 12

Stars: 62

Watchers: 5

Forks: 18

Open Issues: 2

Language: PHP

v1.4.2 2014-11-05 15:49 UTC

README

Build Status Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads License

Provides Behat\Mink browser abstraction library for PHPUnit in Symfony2 project.

Features

  • Symfony2 test.client browser emulator
  • Goutte browser emulator
  • Zombie (JS testing) browser emulator - Have a bug
  • Selenium2 (WebDriver) browser emulator
  • Selenium (JS testing) browser emulator
  • Sahi (JS testing) browser emulator

Configuration

config_test.yml

mink:
    base_url: 'http://localhost'
    browser_name: firefox
    goutte: ~ # optional
    sahi: ~ # optional
    zombie: ~ # optional
    selenium: ~ # optional
    selenium2: ~ # optional

All options can be overwrited in parameters.yml

mink.base_url: 'http://myhost.com'
mink.browser_name: 'chrome'

Documentation