behat / yii-extension
Yii framework extension for Behat
Installs: 35 293
Dependents: 0
Suggesters: 1
Security: 0
Stars: 27
Watchers: 13
Forks: 8
Open Issues: 4
Type:behat-extension
Requires
- php: >=5.3.2
- behat/behat: ~2.5
Suggests
- behat/mink-wunit-driver: to register the MinkWUnitDriver with MinkExtension
This package is auto-updated.
Last update: 2024-10-28 19:55:16 UTC
README
Provides integration layer for the Yii framework:
- Additional services for Behat (
Yii
,Sessions
,Drivers
) Behat\MinkExtension\Context\YiiAwareInterface
which providesCWebApplication
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
- Konstantin Kudryashov everzet [lead developer]
- Other awesome developers