forked from phanbook/phanbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodeception.yml
More file actions
59 lines (55 loc) · 1.42 KB
/
codeception.yml
File metadata and controls
59 lines (55 loc) · 1.42 KB
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: 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:
- core/common/*
- core/modules/*
extensions:
enabled:
- Codeception\Extension\RunFailed # default extension
# Disable linter to avoid PHP 7.1 issues
settings:
lint: false
# Get params from .env file
params:
- .env
# Global modules configuration.
modules:
config:
App\Test\Module\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
PhpBrowser:
url: "%APP_URL%"
curl:
CURLOPT_RETURNTRANSFER: true
error_level: "E_ALL"