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

Commit 2ce4679

Browse files
committed
Merge pull request #9 from patrickdreyer/readme
Providing README.md
2 parents 2444e74 + 76516c8 commit 2ce4679

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
YiiExtension
2+
============
3+
4+
Provides integration layer for the [Yii framework](http://www.yiiframework.com/):
5+
6+
* Additional services for Behat (`Yii`, `Sessions`, `Drivers`)
7+
* `Behat\MinkExtension\Context\YiiAwareInterface` which provides `CWebApplication`
8+
instance for your contexts or subcontexts
9+
* Additional `wunit` session (sets as default) for Mink (if MinkExtension is installed)
10+
for functional testing without Selenium through [wunit](http://www.yiiframework.com/extension/wunit)
11+
12+
between Behat 2.4+ and Yii.
13+
14+
Behat configuration
15+
-------------------
16+
17+
``` yml
18+
default:
19+
extensions:
20+
Behat\MinkExtension\Extension:
21+
default_session: wunit
22+
23+
Behat\YiiExtension\Extension:
24+
framework_script: ../../framework/yii.php
25+
config_script: ../config/test.php
26+
mink_driver: true
27+
wunit: ~
28+
```
29+
30+
Installation
31+
------------
32+
33+
``` json
34+
{
35+
"requires": {
36+
"behat/mink": "1.4.*",
37+
"behat/mink-extension": "*",
38+
"behat/yii-extension": "*"
39+
}
40+
}
41+
```
42+
43+
``` bash
44+
curl http://getcomposer.org/installer | php
45+
php composer.phar install
46+
```
47+
48+
Copyright
49+
---------
50+
51+
Copyright (c) 2012 Konstantin Kudryashov (ever.zet). See LICENSE for details.
52+
53+
Maintainers
54+
-----------
55+
56+
* Konstantin Kudryashov [everzet](http://github.com/everzet) [lead developer]
57+
* Other [awesome developers](https://github.com/Behat/MinkExtension/graphs/contributors)

0 commit comments

Comments
 (0)