Codeception Extension for Yii 2
===============================

This extension provides [Codeception](http://codeception.com/) integration for the [Yii framework 2.0](http://www.yiiframework.com).

It provides classes that help with testing with codeception:

- a base class for unit-tests: `yii\codeception\TestCase`;
- a base class for codeception page-objects: `yii\codeception\BasePage`.

For license information check the [LICENSE](LICENSE.md)-file.

Documentation is at [docs/guide/README.md](docs/guide/README.md).

[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-codeception/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-codeception)
[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-codeception/downloads.png)](https://packagist.org/packages/yiisoft/yii2-codeception)


Installation
------------

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist yiisoft/yii2-codeception
```

or add

```json
"yiisoft/yii2-codeception": "~2.0.0"
```

to the require section of your composer.json.