Commit 9c2dd283 by Mark

improved dependencies, guide

parent bf35e19d
...@@ -91,8 +91,10 @@ the installed application. You only need to do these once for all. ...@@ -91,8 +91,10 @@ the installed application. You only need to do these once for all.
TESTING TESTING
------- -------
This application boilerplate use database in testing, so you should create three databases that are used in tests: 1. Install additional composer packages:
* `php composer.phar require --dev "codeception/codeception: 1.8.*@dev" "codeception/specify: *" "codeception/verify: *"`
2. This application boilerplate use database in testing, so you should create three databases that are used in tests:
* `yii2_advanced_unit` - database for unit tests; * `yii2_advanced_unit` - database for unit tests;
* `yii2_advanced_functional` - database for functional tests; * `yii2_advanced_functional` - database for functional tests;
* `yii2_advanced_acceptance` - database for acceptance tests; * `yii2_advanced_acceptance` - database for acceptance tests;
......
...@@ -20,9 +20,16 @@ ...@@ -20,9 +20,16 @@
"yiisoft/yii2-swiftmailer": "*" "yiisoft/yii2-swiftmailer": "*"
}, },
"require-dev": { "require-dev": {
"yiisoft/yii2-codeception": "*",
"yiisoft/yii2-debug": "*", "yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*" "yiisoft/yii2-gii": "*"
}, },
"suggest": {
"codeception/codeception": "Codeception, 1.8.*@dev is currently works well with Yii.",
"codeception/specify": "BDD style code blocks for PHPUnit and Codeception",
"codeception/verify": "BDD Assertions for PHPUnit and Codeception",
"yiisoft/yii2-faker": "Fixtures generator for Yii2 based on Faker lib"
},
"scripts": { "scripts": {
"post-create-project-cmd": [ "post-create-project-cmd": [
"yii\\composer\\Installer::setPermission" "yii\\composer\\Installer::setPermission"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment