Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Behat/YiiExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YiiExtension

This package is abandoned

This package (which was never updated for Behat v3.x) is now abandoned and will not receive further updates. There is an in-progress PR at #13 which may be useful should anyone wish to fork to a community extension.


Provides integration layer for the Yii framework:

  • Additional services for Behat (Yii, Sessions, Drivers)
  • Behat\MinkExtension\Context\YiiAwareInterface which provides CWebApplication instance for your contexts or subcontexts
  • Additional wunit session (sets as default) for Mink (if MinkExtension is installed) for functional testing without Selenium through wunit

between Behat 2.5+ and Yii.

Behat configuration

default:
  extensions:
    Behat\MinkExtension\Extension:
      default_session: wunit

    Behat\YiiExtension\Extension:
      framework_script: ../../framework/yii.php
      config_script: ../config/test.php
      mink_driver: true

Installation

{
    "require-dev": {
        "behat/mink":           "~1.5",
		"behat/mink-extension": "~1.3",
		"behat/yii-extension":  "~1.0"
    }
}
$ composer update 'behat/mink' 'behat/mink-extension' 'behat/yii-extension'

Copyright

Copyright (c) 2012 Konstantin Kudryashov (ever.zet). See LICENSE for details.

Maintainers

About

ARCHIVED - Yii framework integration extension for Behat 2.x

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages