-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeception.yml
45 lines (44 loc) · 1.13 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
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'
enabled:
- Db:
dsn: 'pgsql:host=localhost;dbname=mueveme_test'
user: 'mueveme'
password: 'mueveme'
dump: 'tests/_data/mueveme.sql'
populate: true # run populator before all tests
cleanup: true # run populator before each test
populator: 'psql -U $user -h $host -d $dbname < $dump 2>/dev/null'
# 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/*