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:
- codeception/frontend
paths:
log: codeception/_log
log: codeception/_output
settings:
colors: true
......@@ -12,7 +12,7 @@ class_name: WebGuy
modules:
enabled:
- PhpBrowser
- codeception\common\_helpers\FixtureHelper
- codeception\common\_support\FixtureHelper
# 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
# "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
actor: Tester
paths:
tests: .
log: _log
log: _output
data: _data
helpers: _helpers
helpers: _support
settings:
bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite
......
......@@ -11,7 +11,7 @@ modules:
enabled:
- Filesystem
- Yii2
- codeception\common\_helpers\FixtureHelper
- codeception\common\_support\FixtureHelper
config:
Yii2:
configFile: 'functional/_config.php'
<?php
namespace codeception\common\_helpers;
namespace codeception\common\_support;
use codeception\common\fixtures\UserFixture;
use Codeception\Module;
......
......@@ -2,9 +2,9 @@ namespace: codeception_common
actor: Tester
paths:
tests: .
log: _log
log: _output
data: _data
helpers: _helpers
helpers: _support
settings:
bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite
......
......@@ -2,9 +2,9 @@ namespace: codeception_console
actor: Tester
paths:
tests: .
log: _log
log: _output
data: _data
helpers: _helpers
helpers: _support
settings:
bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite
......
......@@ -12,7 +12,7 @@ class_name: WebGuy
modules:
enabled:
- PhpBrowser
- codeception\common\_helpers\FixtureHelper
- codeception\common\_support\FixtureHelper
# 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
# "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
actor: Tester
paths:
tests: .
log: _log
log: _output
data: _data
helpers: _helpers
helpers: _support
settings:
bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite
......
......@@ -11,7 +11,7 @@ modules:
enabled:
- Filesystem
- Yii2
- codeception\common\_helpers\FixtureHelper
- codeception\common\_support\FixtureHelper
config:
Yii2:
configFile: 'functional/_config.php'
actor: Tester
paths:
tests: codeception
log: codeception/_log
log: codeception/_output
data: codeception/_data
helpers: codeception/_helpers
helpers: codeception/_support
settings:
bootstrap: _bootstrap.php
suite_class: \PHPUnit_Framework_TestSuite
memory_limit: 1024M
log: 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