Mink WUnit Driver
, (*1)
Usage Example
``` php
<?php, (*2)
use Behat\Mink\Mink,
Behat\Mink\Session,
Behat\Mink\Driver\WUnitDriver;, (*3)
$mink = new Mink(array(
'wunit' => new Session(new WUnitDriver()),
));, (*4)
$mink->getSession('wunit')->getPage()->findLink('Chat')->click();, (*5)
Behat configuration
-------------------
``` yml
default:
extensions:
Behat\MinkExtension\Extension:
default_session: wunit
Behat\YiiExtension\Extension:
mink_driver: true
framework_script: ../../framework/yii.php
config_script: ../config/test.php
Installation
``` json
{
"requires": {
"behat/mink": "~1.5",
"behat/mink-extension": "",
"behat/yii-extension": "",
"behat/mink-wunit-driver": "*"
}
}, (*6)
``` bash
curl http://getcomposer.org/installer | php
php composer.phar install
Copyright
Copyright (c) 2012 Patrick Dreyer (patrick.dreyer.name). See LICENSE for details., (*7)
Maintainers