-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbehat.yml.dist
46 lines (42 loc) · 1.36 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
# You need to copy this file to `behat.yaml`.
# We should automate this copy with a hook on Composer? NIH
default:
calls:
error_reporting: 16383 # E_ALL & ~E_USER_DREPRECATED
suites:
rest:
# This is not the most comfortable way of adding new steps,
# since we have to list the contexts here.
# We could perhaps remove these and use traits and only one Context.
# The Actors are shared between all these contexts.
contexts:
- Features\MainFeatureContext:
actors: '@App\Features\Actors'
- Features\HookFeatureContext:
actors: '@App\Features\Actors'
- Features\ToolFeatureContext:
actors: '@App\Features\Actors'
- Features\PoetryFeatureContext:
actors: '@App\Features\Actors'
- Features\ApiRestFeatureContext:
actors: '@App\Features\Actors'
extensions:
# Integrate with Symfony
Behat\Symfony2Extension:
kernel:
bootstrap: features/bootstrap/bootstrap.php
class: App\Kernel
# Generate a HTML summary
elkan\BehatFormatter\BehatFormatterExtension:
projectName: BehatTest
name: html
renderer: Twig
file_name: index
print_args: true
print_outp: true
loop_break: true
show_tags: true
formatters:
pretty: true
html:
output_path: var/features-report