-
Notifications
You must be signed in to change notification settings - Fork 2
/
codeception.yml
46 lines (45 loc) · 1.16 KB
/
codeception.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
helpers: tests/_support
settings:
bootstrap: _bootstrap.php
memory_limit: 1024M
colors: true
modules:
config:
Yii2:
configFile: 'config/test.php'
cleanup: false
enabled:
- Db:
dsn: 'pgsql:host=localhost;dbname=druidkuma_test'
user: 'druidkuma'
password: 'druidkuma'
dump: 'tests/_data/druidkuma.sql'
populate: true # run populator before all tests
cleanup: true # run populator before each test
populator: 'psql -U $user -h $host -d $dbname < $dump'
# To enable code coverage:
#coverage:
# #c3_url: http://localhost:8080/index-test.php/
# enabled: true
# #remote: true
# #remote_config: '../codeception.yml'
# whitelist:
# include:
# - models/*
# - controllers/*
# - commands/*
# - mail/*
# blacklist:
# include:
# - assets/*
# - config/*
# - runtime/*
# - vendor/*
# - views/*
# - web/*
# - tests/*