/
codeception.yml
59 lines (59 loc) · 1.75 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
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
helpers: tests/_support
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 1024M
modules:
config:
Db:
dsn: 'mysql:host=localhost;dbname=wpdemo-tests'
user: wordpress
password: wordpresspass
dump: tests/_data/dump.sql
WPBrowser:
url: 'http://localhost:8000'
adminUsername: root
adminPassword: rootpass
adminUrl: /wp-admin
WPDb:
dsn: 'mysql:host=localhost;dbname=wpdemo-tests'
user: wordpress
password: wordpresspass
dump: tests/_data/dump.sql
populate: true
cleanup: true
url: 'http://localhost:8000'
tablePrefix: wp_
WPLoader:
wpRootFolder: docroot
dbName: wpdemo-tests
dbHost: localhost
dbUser: wordpress
dbPassword: wordpresspass
wpDebug: true
dbCharset: utf8
dbCollate: ''
tablePrefix: wp_
domain: localhost:8000
adminEmail: admin@wp.local
title: 'WP Tests'
phpBinary: php
language: ''
# plugins: [hello.php, my-plugin/my-plugin.php]
# activatePlugins: [hello.php, my-plugin/my-plugin.php]
# bootstrapActions: [my-first-action, my-second-action]
WPWebDriver:
url: 'http://localhost:8000'
browser: chrome
port: 4444
restart: true
wait: 2
# window_size: '1024x768'
adminUsername: root
adminPassword: rootpass
adminUrl: /wp-admin