-
Notifications
You must be signed in to change notification settings - Fork 469
Expand file tree
/
Copy pathcodeception.dist.yml
More file actions
93 lines (93 loc) · 2.88 KB
/
codeception.dist.yml
File metadata and controls
93 lines (93 loc) · 2.88 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
paths:
tests: tests
output: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
params:
- env
actor_suffix: Tester
settings:
colors: true
memory_limit: 1024M
coverage:
enabled: true
remote: false
c3_url: '%TEST_WP_URL%/wp-content/plugins/wpgraphql-acf/wpgraphql-acf.php'
include:
- src/*
exclude:
- wpgraphql-acf.php
- vendor/*
show_only_summary: false
extensions:
enabled:
- Codeception\Extension\RunFailed
- lucatume\WPBrowser\Extension\IsolationSupport
commands:
- lucatume\WPBrowser\Command\RunOriginal
- lucatume\WPBrowser\Command\RunAll
- lucatume\WPBrowser\Command\DbExport
- lucatume\WPBrowser\Command\DbImport
- lucatume\WPBrowser\Command\MonkeyCachePath
- lucatume\WPBrowser\Command\MonkeyCacheClear
- lucatume\WPBrowser\Command\GenerateWPUnit
- lucatume\WPBrowser\Command\GenerateWPRestApi
- lucatume\WPBrowser\Command\GenerateWPRestController
- lucatume\WPBrowser\Command\GenerateWPRestPostTypeController
- lucatume\WPBrowser\Command\GenerateWPAjax
- lucatume\WPBrowser\Command\GenerateWPCanonical
- lucatume\WPBrowser\Command\GenerateWPXMLRPC
modules:
config:
REST:
depends: lucatume\WPBrowser\Module\WPBrowser
url: '%TEST_WP_URL%'
lucatume\WPBrowser\Module\WPDb:
dsn: 'mysql:host=%TEST_DB_HOST%;dbname=%TEST_DB_NAME%'
user: '%TEST_DB_USER%'
password: '%TEST_DB_PASSWORD%'
populator: 'mysql -u $user -p$password -h $host $dbname < $dump'
dump: 'tests/_data/dump.sql'
populate: false
cleanup: true
waitlock: 0
url: '%TEST_WP_URL%'
urlReplacement: true
tablePrefix: '%TEST_WP_TABLE_PREFIX%'
lucatume\WPBrowser\Module\WPBrowser:
url: '%TEST_WP_URL%'
adminUsername: '%TEST_ADMIN_USERNAME%'
adminPassword: '%TEST_ADMIN_PASSWORD%'
adminPath: '%TEST_ADMIN_PATH%'
headers:
X_WPBROWSER_REQUEST: 1
X_TEST_REQUEST: 1
X_APM_REQUEST: 1
connect_timeout: 3
cookies: false
lucatume\WPBrowser\Module\WPFilesystem:
wpRootFolder: '%TEST_WP_ROOT_FOLDER%'
plugins: '/wp-content/plugins'
mu-plugins: '/wp-content/mu-plugins'
themes: '/wp-content/themes'
uploads: '/wp-content/uploads'
lucatume\WPBrowser\Module\WPLoader:
wpRootFolder: '%TEST_WP_ROOT_FOLDER%'
dbName: '%TEST_DB_NAME%'
dbHost: '%TEST_DB_HOST%'
dbUser: '%TEST_DB_USER%'
dbPassword: '%TEST_DB_PASSWORD%'
tablePrefix: '%TEST_WP_TABLE_PREFIX%'
domain: '%TEST_WP_DOMAIN%'
adminEmail: '%TEST_ADMIN_EMAIL%'
multisite: '%MULTISITE%'
title: 'Test'
theme: '%TEST_THEME%'
plugins:
- wp-graphql/wp-graphql.php
- wp-graphql-acf/wpgraphql-acf.php
activatePlugins:
- wp-graphql/wp-graphql.php
- wp-graphql-acf/wpgraphql-acf.php
configFile: 'tests/_data/config.php'