forked from Catrobat/Catroweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml.dist
186 lines (160 loc) · 7.01 KB
/
behat.yml.dist
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
default:
# --------------------------------------------------------------------------------------------------
# Output formatting:
# - only shows the progress in command line and then creates a new html report
#
formatters:
pretty: false
progress: true
html:
output_path: "tests/testreports/behat/htmlTestReport"
# --------------------------------------------------------------------------------------------------
# Register all Extensions here:
#
extensions:
Behat\Symfony2Extension:
kernel:
bootstrap: config/bootstrap_test.php
class: App\Kernel
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Behat\MinkExtension:
browser_name: chrome
base_url: http://localhost/index_test.php/
sessions:
default:
chrome:
api_url: "http://localhost:9222"
download_behavior: allow
download_path: tests/testdata/UploadDownloadTemp
socket_timeout: 60
dom_wait_timeout: 6000
DVDoug\Behat\CodeCoverage\Extension:
filter:
whitelist:
include:
directories:
'src': ~
reports:
clover:
target: tests/testreports/coverage/behat/coverage.xml
emuse\BehatHTMLFormatter\BehatHTMLFormatterExtension:
name: html
renderer: Twig
file_name: testreport
print_args: true
print_outp: true
loop_break: true
# --------------------------------------------------------------------------------------------------
# Register test suites here:
#
# Note: Also define them in the github action work flows. Else they will not be checked automatically.
#
#
suites:
api:
paths: [ "tests/behat/features/api" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\ApiContext
- Tests\behat\context\CatrowebBrowserContext
api-deprecated:
paths: [ "tests/behat/features/api-deprecated" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-admin:
paths: [ "tests/behat/features/web/admin" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-authentication:
paths: [ "tests/behat/features/web/authentication" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-gamejam:
paths: [ "tests/behat/features/web/gamejam" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-general:
paths:
- "tests/behat/features/web/general"
- "tests/behat/features/web/media-library"
- "tests/behat/features/web/recommendations"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-notifications:
paths: ["tests/behat/features/web/notifications"]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-profile:
paths: [ "tests/behat/features/web/profile" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-project-details:
paths: [ "tests/behat/features/web/project-details" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-project-details-2:
paths: [ "tests/behat/features/web/project-details-2" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-project-details-3:
paths: [ "tests/behat/features/web/project-details-3" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-project-loader:
paths: [ "tests/behat/features/web/project-loader" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-search:
paths: [ "tests/behat/features/web/search" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-top-bar:
paths: [ "tests/behat/features/web/top-bar" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
# --------------------------------------------------------------------------------------------------
# Exclude specific tests based on their tags here:
#
gherkin:
filters:
tags: "@~disabled&&~wip&&~external&&~RealOAuth"