-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
codeception.yml
51 lines (47 loc) · 1.2 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
47
48
49
50
51
# can be changed while bootstrapping project
actor: Tester
paths:
# where the modules stored
tests: tests
log: tests/_output
# directory for fixture data
data: tests/_data
# directory for custom modules (helpers)
support: tests/_support
envs: tests/_envs
settings:
# name of bootstrap that will be used
# each bootstrap file should be
# inside a suite directory.
bootstrap: _bootstrap.php
colors: true
# Tests (especially functional) can take a lot of memory
# We set a high limit for them by default.
memory_limit: 1024M
log: true
coverage:
enabled: true
whitelist:
include:
- app/*
extensions:
enabled:
- Codeception\Extension\RunFailed # default extension
# Get params from .env file
params:
- .env
# Global modules configuration.
modules:
config:
Db:
dsn: "%DB_DSN%"
user: "%DB_USERNAME%"
password: "%DB_PASSWORD%"
dump: tests/_data/dump.sql
populate: false
cleanup: false
Phalcon:
bootstrap: "tests/_config/bootstrap.php"
cleanup: false
savepoints: false
error_level: "E_ALL"