Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/ MinkWUnitDriver Public archive
forked from minkphp/MinkWUnitDriver

Yii Functional Tests Extension Driver for Mink

License

Notifications You must be signed in to change notification settings

Behat/MinkWUnitDriver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mink WUnit Driver

Latest Stable Version Total Downloads

Usage Example

<?php

use Behat\Mink\Mink,
    Behat\Mink\Session,
    Behat\Mink\Driver\WUnitDriver;

$mink = new Mink(array(
    'wunit' => new Session(new WUnitDriver()),
));

$mink->getSession('wunit')->getPage()->findLink('Chat')->click();

Behat configuration

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

{
    "requires": {
        "behat/mink":              "~1.5",
        "behat/mink-extension":    "*",
        "behat/yii-extension":     "*",
        "behat/mink-wunit-driver": "*"
    }
}
curl http://getcomposer.org/installer | php
php composer.phar install

Copyright

Copyright (c) 2012 Patrick Dreyer (patrick.dreyer.name). See LICENSE for details.

Maintainers

About

Yii Functional Tests Extension Driver for Mink

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%