-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcodeception.dist.yml
66 lines (66 loc) · 2.07 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
paths:
tests: '%TESTS_DIR%'
output: '%TESTS_OUTPUT%'
data: '%TESTS_DATA%'
support: '%TESTS_SUPPORT%'
envs: '%TESTS_ENVS%'
params:
- env
- .env.testing
actor_suffix: Tester
settings:
colors: true
memory_limit: 1024M
bootstrap: _bootstrap.php
coverage:
enabled: true
include:
- ql-events.php
- includes/*.php
extensions:
enabled:
- Codeception\Extension\RunFailed
commands:
- Codeception\Command\GenerateWPUnit
- Codeception\Command\GenerateWPRestApi
- Codeception\Command\GenerateWPRestController
- Codeception\Command\GenerateWPRestPostTypeController
- Codeception\Command\GenerateWPAjax
- Codeception\Command\GenerateWPCanonical
- Codeception\Command\GenerateWPXMLRPC
modules:
enabled: [WPLoader, \Helper\Wpunit]
config:
WPLoader:
wpRootFolder: '%WP_ROOT_FOLDER%'
dbName: '%WP_TEST_DB_NAME%'
dbHost: '%WP_TEST_DB_HOST%'
dbUser: '%WP_TEST_DB_USER%'
dbPassword: '%WP_TEST_DB_PASSWORD%'
tablePrefix: test_
domain: '%WP_DOMAIN%'
adminEmail: 'admin@%WP_DOMAIN%'
title: 'Test'
plugins:
- the-events-calendar/the-events-calendar.php
- event-tickets/event-tickets.php
- event-tickets-plus/event-tickets-plus.php
- events-filterbar/the-events-calendar-filter-view.php
- events-pro/events-calendar-pro.php
- events-virtual/events-virtual.php
- woocommerce/woocommerce.php
- wp-graphql/wp-graphql.php
- wp-graphql-woocommerce/wp-graphql-woocommerce.php
- ql-events/ql-events.php
activatePlugins:
- the-events-calendar/the-events-calendar.php
- event-tickets/event-tickets.php
- event-tickets-plus/event-tickets-plus.php
- events-filterbar/the-events-calendar-filter-view.php
- events-pro/events-calendar-pro.php
- events-virtual/events-virtual.php
- woocommerce/woocommerce.php
- wp-graphql/wp-graphql.php
- wp-graphql-woocommerce/wp-graphql-woocommerce.php
- ql-events/ql-events.php
configFile: 'tests/_data/config.php'