-
Notifications
You must be signed in to change notification settings - Fork 2
/
codeception.yml
59 lines (51 loc) · 1.21 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
52
53
54
55
56
57
58
59
# Can be changed while bootstrapping project
actor_suffix: Tester
paths:
# Where the modules stored
tests: tests
output: tests/_output
# Directory for fixture data
data: tests/_data
# Directory for custom modules (helpers)
support: tests/_support
envs: tests/_envs
bootstrap: _bootstrap.php
settings:
# The name of bootstrap that will be used.
# Each bootstrap file should be inside a suite directory.
colors: true
# Tests (especially functional) can take a lot of memory
# We set a high limit for them by default.
memory_limit: 128M
log: true
coverage:
enabled: true
remote: false
include:
- ./*.php
exclude:
- phinx.php
- storage/*
- tests/*
- vendor/*
extensions:
enabled:
- Codeception\Extension\RunFailed # default extension
# Global modules configuration.
modules:
config:
Phalcon:
cleanup: false
savepoints: false
DB:
dsn: 'mysql:host=%DATA_API_MYSQL_HOST%;dbname=%DATA_API_MYSQL_NAME%'
user: '%DATA_API_MYSQL_USER%'
password: '%DATA_API_MYSQL_PASS%'
dump: 'tests/_data/dump.sql'
populate: false
cleanup: false
reconnect: true
# Get params from .env file
params:
- .env
error_level: "E_ALL"