Commit 1bf6843d by Alexander Makarov

Removed db module from basic app, renamed _helpers to _support and _logs to _output

parent 9ea93393
...@@ -5,7 +5,7 @@ include: ...@@ -5,7 +5,7 @@ include:
- codeception/frontend - codeception/frontend
paths: paths:
log: codeception/_log log: codeception/_output
settings: settings:
colors: true colors: true
...@@ -12,7 +12,7 @@ class_name: WebGuy ...@@ -12,7 +12,7 @@ class_name: WebGuy
modules: modules:
enabled: enabled:
- PhpBrowser - PhpBrowser
- codeception\common\_helpers\FixtureHelper - codeception\common\_support\FixtureHelper
# you can use WebDriver instead of PhpBrowser to test javascript and ajax. # you can use WebDriver instead of PhpBrowser to test javascript and ajax.
# This will require you to install selenium. See http://codeception.com/docs/04-AcceptanceTests#Selenium # This will require you to install selenium. See http://codeception.com/docs/04-AcceptanceTests#Selenium
# "restart" option is used by the WebDriver to start each time per test-file new session and cookies, # "restart" option is used by the WebDriver to start each time per test-file new session and cookies,
......
...@@ -2,9 +2,9 @@ namespace: codeception_backend ...@@ -2,9 +2,9 @@ namespace: codeception_backend
actor: Tester actor: Tester
paths: paths:
tests: . tests: .
log: _log log: _output
data: _data data: _data
helpers: _helpers helpers: _support
settings: settings:
bootstrap: _bootstrap.php bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite suite_class: \PHPUnit_Framework_TestSuite
......
...@@ -11,7 +11,7 @@ modules: ...@@ -11,7 +11,7 @@ modules:
enabled: enabled:
- Filesystem - Filesystem
- Yii2 - Yii2
- codeception\common\_helpers\FixtureHelper - codeception\common\_support\FixtureHelper
config: config:
Yii2: Yii2:
configFile: 'functional/_config.php' configFile: 'functional/_config.php'
<?php <?php
namespace codeception\common\_helpers; namespace codeception\common\_support;
use codeception\common\fixtures\UserFixture; use codeception\common\fixtures\UserFixture;
use Codeception\Module; use Codeception\Module;
......
...@@ -2,9 +2,9 @@ namespace: codeception_common ...@@ -2,9 +2,9 @@ namespace: codeception_common
actor: Tester actor: Tester
paths: paths:
tests: . tests: .
log: _log log: _output
data: _data data: _data
helpers: _helpers helpers: _support
settings: settings:
bootstrap: _bootstrap.php bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite suite_class: \PHPUnit_Framework_TestSuite
......
...@@ -2,9 +2,9 @@ namespace: codeception_console ...@@ -2,9 +2,9 @@ namespace: codeception_console
actor: Tester actor: Tester
paths: paths:
tests: . tests: .
log: _log log: _output
data: _data data: _data
helpers: _helpers helpers: _support
settings: settings:
bootstrap: _bootstrap.php bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite suite_class: \PHPUnit_Framework_TestSuite
......
...@@ -12,7 +12,7 @@ class_name: WebGuy ...@@ -12,7 +12,7 @@ class_name: WebGuy
modules: modules:
enabled: enabled:
- PhpBrowser - PhpBrowser
- codeception\common\_helpers\FixtureHelper - codeception\common\_support\FixtureHelper
# you can use WebDriver instead of PhpBrowser to test javascript and ajax. # you can use WebDriver instead of PhpBrowser to test javascript and ajax.
# This will require you to install selenium. See http://codeception.com/docs/04-AcceptanceTests#Selenium # This will require you to install selenium. See http://codeception.com/docs/04-AcceptanceTests#Selenium
# "restart" option is used by the WebDriver to start each time per test-file new session and cookies, # "restart" option is used by the WebDriver to start each time per test-file new session and cookies,
......
...@@ -2,9 +2,9 @@ namespace: codeception_frontend ...@@ -2,9 +2,9 @@ namespace: codeception_frontend
actor: Tester actor: Tester
paths: paths:
tests: . tests: .
log: _log log: _output
data: _data data: _data
helpers: _helpers helpers: _support
settings: settings:
bootstrap: _bootstrap.php bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite suite_class: \PHPUnit_Framework_TestSuite
......
...@@ -11,7 +11,7 @@ modules: ...@@ -11,7 +11,7 @@ modules:
enabled: enabled:
- Filesystem - Filesystem
- Yii2 - Yii2
- codeception\common\_helpers\FixtureHelper - codeception\common\_support\FixtureHelper
config: config:
Yii2: Yii2:
configFile: 'functional/_config.php' configFile: 'functional/_config.php'
actor: Tester actor: Tester
paths: paths:
tests: codeception tests: codeception
log: codeception/_log log: codeception/_output
data: codeception/_data data: codeception/_data
helpers: codeception/_helpers helpers: codeception/_support
settings: settings:
bootstrap: _bootstrap.php bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite suite_class: \PHPUnit_Framework_TestSuite
memory_limit: 1024M memory_limit: 1024M
log: true log: true
colors: true colors: true
modules:
config:
Db:
dsn: ''
user: ''
password: ''
dump: codeception/_data/dump.sql
/* Replace this file with actual dump of your database */
\ No newline at end of file
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