Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
ed74305a
Commit
ed74305a
authored
Jan 02, 2014
by
Mark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added info about setting testing environment
parent
7ec8d0df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
composer.json
apps/basic/composer.json
+1
-3
README.md
apps/basic/tests/README.md
+7
-2
No files found.
apps/basic/composer.json
View file @
ed74305a
...
@@ -20,9 +20,7 @@
...
@@ -20,9 +20,7 @@
"yiisoft/yii2-codeception"
:
"*"
,
"yiisoft/yii2-codeception"
:
"*"
,
"yiisoft/yii2-debug"
:
"*"
,
"yiisoft/yii2-debug"
:
"*"
,
"yiisoft/yii2-gii"
:
"*"
,
"yiisoft/yii2-gii"
:
"*"
,
"yiisoft/yii2-swiftmailer"
:
"*"
,
"yiisoft/yii2-swiftmailer"
:
"*"
"codeception/codeception"
:
"*"
,
"codeception/specify"
:
"*"
},
},
"scripts"
:
{
"scripts"
:
{
"post-create-project-cmd"
:
[
"post-create-project-cmd"
:
[
...
...
apps/basic/tests/README.md
View file @
ed74305a
...
@@ -3,9 +3,14 @@ These tests are developed with [Codeception PHP Testing Framework](http://codece
...
@@ -3,9 +3,14 @@ These tests are developed with [Codeception PHP Testing Framework](http://codece
After creating the basic application, follow these steps to prepare for the tests:
After creating the basic application, follow these steps to prepare for the tests:
1.
In the file
`_bootstrap.php`
, modify the definition of the constant
`TEST_ENTRY_URL`
so
1.
To install
`Codeception`
and its dependencies through composer, run commands:
```
php composer.phar require "codeception/codeception": "*"
php composer.phar require "codeception/specify": "*"
```
2. 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:
3
. Go to the application base directory and build the test suites:
```
```
vendor/bin/codecept build
vendor/bin/codecept build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment