README.md 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. Codeception Extension for Yii 2
  2. ===============================
  3. This extension provides [Codeception](http://codeception.com/) integration for the [Yii framework 2.0](http://www.yiiframework.com).
  4. It provides classes that help with testing with codeception:
  5. - a base class for unit-tests: `yii\codeception\TestCase`;
  6. - a base class for codeception page-objects: `yii\codeception\BasePage`.
  7. For license information check the [LICENSE](LICENSE.md)-file.
  8. Documentation is at [docs/guide/README.md](docs/guide/README.md).
  9. [![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-codeception/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-codeception)
  10. [![Total Downloads](https://poser.pugx.org/yiisoft/yii2-codeception/downloads.png)](https://packagist.org/packages/yiisoft/yii2-codeception)
  11. Installation
  12. ------------
  13. The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
  14. Either run
  15. ```
  16. php composer.phar require --prefer-dist yiisoft/yii2-codeception
  17. ```
  18. or add
  19. ```json
  20. "yiisoft/yii2-codeception": "~2.0.0"
  21. ```
  22. to the require section of your composer.json.