behat / mink-bundle
Mink bundle for Symfony2
Installs: 213 053
Dependents: 4
Suggesters: 1
Security: 0
Stars: 64
Watchers: 6
Forks: 19
Open Issues: 7
Type:symfony-bundle
Requires
- php: >=5.3.3
- behat/mink: ~1.4
- behat/mink-browserkit-driver: ~1.1
- symfony/framework-bundle: ~2.2
Requires (Dev)
- behat/mink-goutte-driver: ~1.0,>=1.0.8
- behat/mink-sahi-driver: ~1.1
- behat/mink-selenium-driver: ~1.1
- behat/mink-selenium2-driver: ~1.1
- behat/mink-zombie-driver: ~1.1
Suggests
- behat/mink-goutte-driver: fast headless driver for any app without JS emulation
- behat/mink-sahi-driver: slow, but JS-enabled driver for any app (requires Sahi)
- behat/mink-selenium-driver: slow, but JS-enabled driver for any app (requires Selenium1)
- behat/mink-selenium2-driver: slow, but JS-enabled driver for any app (requires Selenium2)
- behat/mink-zombie-driver: fast and JS-enabled headless driver for any app (requires node.js)
README
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'