Commit 0631e117 by Alexander Makarov

Updated readme in apps/basic/tests

parent 77dae9af
...@@ -22,8 +22,7 @@ install: ...@@ -22,8 +22,7 @@ install:
- tests/unit/data/travis/cubrid-setup.sh - tests/unit/data/travis/cubrid-setup.sh
# basic application: # basic application:
- composer install --dev --prefer-dist -d apps/basic - composer install --dev --prefer-dist -d apps/basic
- cd apps/basic && composer require --dev codeception/codeception:1.8.*@dev codeception/specify:* codeception/verify:* - cd apps/basic && composer require --dev "codeception/codeception: 1.8.*@dev" "codeception/specify: *" "codeception/verify: *"
- cd apps/basic && composer update
- cd apps/basic && php vendor/bin/codecept build && cd ../.. - cd apps/basic && php vendor/bin/codecept build && cd ../..
- cd apps && php -S localhost:8080 & - cd apps && php -S localhost:8080 &
......
...@@ -5,7 +5,13 @@ After creating the basic application, follow these steps to prepare for the test ...@@ -5,7 +5,13 @@ After creating the basic application, follow these steps to prepare for the test
1. In the file `_bootstrap.php`, modify the definition of the constant `TEST_ENTRY_URL` so 1. In the file `_bootstrap.php`, modify the definition of the constant `TEST_ENTRY_URL` so
that it points to the correct entry script URL. that it points to the correct entry script URL.
2. Go to the application base directory and build the test suites: 2. Install additional composer packages:
```
php composer.phar require --dev "codeception/codeception: 1.8.*@dev" "codeception/specify: *" "codeception/verify: *"
```
3. Go to the application base directory and build the test suites:
``` ```
vendor/bin/codecept build vendor/bin/codecept build
......
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