forked from lucatume/wp-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeception.dist.yml
45 lines (44 loc) · 1.63 KB
/
codeception.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
36
37
38
39
40
41
42
43
44
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
helpers: tests/_support
settings:
colors: true
memory_limit: 1024M
params:
- .env.testing
bootstrap: _bootstrap.php
coverage:
enabled: true
include:
- src/*
exclude:
- src/tad/scripts/*
- src/data/*
- src/includes/*
wpFolder: '%WORDPRESS_ROOT_DIR%'
extensions:
enabled:
- tad\WPBrowser\Extension\Copier
- tad\WPBrowser\Extension\Events
config:
tad\WPBrowser\Extension\Copier:
files:
'tests/_data/themes/dummy': '%WORDPRESS_ROOT_DIR%/wp-content/themes/dummy'
'tests/_data/themes/isolated': '%WORDPRESS_ROOT_DIR%/wp-content/themes/isolated'
'tests/_data/plugins/mu-plugin-1': '%WORDPRESS_ROOT_DIR%/wp-content/plugins/mu-plugin-1'
'tests/_data/plugins/test': '%WORDPRESS_ROOT_DIR%/wp-content/plugins/test'
'tests/_data/plugins/isolated-test-plugin': '%WORDPRESS_ROOT_DIR%/wp-content/plugins/isolated-test-plugin'
'tests/_data/plugins/isolated-test-plugin-two': '%WORDPRESS_ROOT_DIR%/wp-content/plugins/isolated-test-plugin-two'
tad\WPBrowser\Extension\Events:
suites: ['events']
commands:
- "Codeception\\Command\\GenerateWPUnit"
- "Codeception\\Command\\GenerateWPRestApi"
- "Codeception\\Command\\GenerateWPRestController"
- "Codeception\\Command\\GenerateWPRestPostTypeController"
- "Codeception\\Command\\GenerateWPAjax"
- "Codeception\\Command\\GenerateWPCanonical"
- "Codeception\\Command\\GenerateWPXMLRPC"