Commit 2806c01e by Mark

formatting improved

parent 184cd7ae
...@@ -104,13 +104,13 @@ if you are starting from `frontend` tests then you should run `yii migrate` in e ...@@ -104,13 +104,13 @@ if you are starting from `frontend` tests then you should run `yii migrate` in e
it will upgrade your database to the last state according migrations. it will upgrade your database to the last state according migrations.
To be able to run acceptance tests you should configure your server to point doc_root to your new created application. For example if we To be able to run acceptance tests you should configure your server to point doc_root to your new created application. For example if we
use php builtin server, then all that is needed to do is run `php -S 127.0.0.1:8080` in main project directory - directory that contains frontend/backend/common/console directories. use php builtin server, then all that is needed to do is run `php -S 127.0.0.1:8080` in main project directory - directory that contains `frontend`, `backend`, `common`, `console` directories.
After that is done you should be able to run your tests, for example to run `frontend` tests do: After that is done you should be able to run your tests, for example to run `frontend` tests do:
* cd frontend; * `cd frontend`;
* ../vendor/bin/codecept build; * `../vendor/bin/codecept build`
* ../vendor/bin/codecept run; * `../vendor/bin/codecept run`.
In similar way you can run tests for other application tiers - `backend`, `console`, `common`. In similar way you can run tests for other application tiers - `backend`, `console`, `common`.
......
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