# suite config
suites:
unit:
actor: UnitTester
path: ./suites/unit/
bootstrap: 'bootstrap.php'
modules:
enabled:
- Yii2:
configFile: 'tests/testapp/config/test.php'
part: [init, orm]
- Db:
dsn: pgsql:host=pgsql;dbname=testdb
user: dbuser
password: dbpass
dump: 'tests/codeception/_data/dump.sql'
populate: true
cleanup: false
reconnect: true
waitlock: 10
env:
github:
modules:
config:
Db:
dsn: pgsql:host=127.0.0.1;dbname=testdb
local:
modules:
config:
Db:
dsn: pgsql:host=127.0.0.1;dbname=testdb
docker:
modules:
config:
Db:
dsn: pgsql:host=pgsql;dbname=testdb
api:
actor: ApiTester
path: ./suites/api/
modules:
enabled:
- Asserts
- REST:
url: http://php
depends: PhpBrowser
- Db:
dsn: pgsql:host=pgsql;dbname=testdb
user: dbuser
password: dbpass
dump: 'tests/codeception/_data/dump.sql'
populate: true
cleanup: true
reconnect: true
waitlock: 10
env:
github:
modules:
config:
REST:
url: http://localhost:8080
Db:
dsn: pgsql:host=127.0.0.1;dbname=testdb
local:
modules:
config:
REST:
url: http://127.0.0.1:80
Db:
dsn: pgsql:host=127.0.0.1;dbname=testdb
docker:
modules:
config:
REST:
url: http://php
Db:
dsn: pgsql:host=pgsql;dbname=testdb
paths:
tests: tests/codeception
output: tests/codeception/_output
data: tests/codeception/_data
support: tests/codeception/_support
settings:
shuffle: false
lint: true
|