-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfunctional.suite.dist.yml
35 lines (34 loc) · 1.02 KB
/
functional.suite.dist.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
# Codeception Test Suite Configuration
#
# Suite for functional tests
# Emulate web requests and make WordPress process them
actor: FunctionalTester
modules:
enabled:
- WPDb
- WPBrowser
# - WPFilesystem
- Asserts
- \Helper\Functional
config:
WPDb:
dsn: 'mysql:host=%DB_HOST%;dbname=%DB_NAME%'
user: '%DB_USER%'
password: '%DB_PASSWORD%'
dump: 'tests/_data/dump.sql'
populate: true
cleanup: true
url: '%WP_URL%'
urlReplacement: true
tablePrefix: '%TABLE_PREFIX%'
WPBrowser:
url: '%WP_URL%'
adminUsername: '%ADMIN_USERNAME%'
adminPassword: '%ADMIN_PASSWORD%'
adminPath: '%WP_ADMIN_PATH%'
WPFilesystem:
wpRootFolder: '%WP_ROOT_FOLDER%'
plugins: '/wp-content/plugins'
mu-plugins: '/wp-content/mu-plugins'
themes: '/wp-content/themes'
uploads: '/wp-content/uploads'