File tree Expand file tree Collapse file tree 3 files changed +23
-4
lines changed
Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ return [
9696];
9797```
9898
99- ** NOTE:** Yii won't create the database for you, this has to be done manually before you can access it.
100-
101- Also check and edit the other files in the ` config/ ` directory to customize your application.
99+ ** NOTES:**
100+ - Yii won't create the database for you, this has to be done manually before you can access it.
101+ - Check and edit the other files in the ` config/ ` directory to customize your application as required.
102+ - Refer to the README in the ` tests ` direcotry for information specific to basic application tests.
Original file line number Diff line number Diff line change 11<?php
22
3- Yii::setAlias ('@tests ' , dirname (__DIR__ ) . '/tests ' );
3+ Yii::setAlias ('@tests ' , dirname (__DIR__ ) . '/tests/codeception ' );
44
55$ params = require (__DIR__ . '/params.php ' );
66$ db = require (__DIR__ . '/db.php ' );
2525 'db ' => $ db ,
2626 ],
2727 'params ' => $ params ,
28+ /*
29+ 'controllerMap' => [
30+ 'fixture' => [ // Fixture generation command line.
31+ 'class' => 'yii\faker\FixtureController',
32+ ],
33+ ],
34+ */
2835];
2936
3037if (YII_ENV_DEV ) {
Original file line number Diff line number Diff line change @@ -62,6 +62,17 @@ webserver. In the `web` directory execute the following:
6262 codecept run unit
6363 ```
6464
65+ Fixtures Default Configuration
66+ ------------------------------
67+ The ` fixture ` commands refer to the following ` ActiveFixture ` configuration by default:
68+
69+ - Fixtures path: ` @tests/unit/fixtures `
70+ - Fixtures data path: ` @tests/unit/fixtures/data `
71+ - Template files path: ` @tests/unit/templates/fixtures `
72+ - Namespace: ` tests\unit\fixtures `
73+
74+ Where ` @tests ` refers to ` @app/tests/codeception ` .
75+
6576Code coverage support
6677---------------------
6778
You can’t perform that action at this time.
0 commit comments