-
Notifications
You must be signed in to change notification settings - Fork 148
/
behat.yml
39 lines (36 loc) · 1.24 KB
/
behat.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
# Configuration file for Behat.
# Behat is loaded with MinkExtension
# Normal session is Goutte
# Javascript session is Selenium2
# You have two profiles: frontend and backend
# callable as `bin/behat -p frontend` and `bin/behat -p backend`, respectively.
# For Selenium to find your web application you have to make `behat-local.yml`
# config and put a base_url definition there.
# Example of `behat-local.yml` you can see in `carcass/vagrant/`.
default:
paths:
bootstrap: '%behat.paths.base%/tests/specs/contexts'
formatter:
name: 'pretty'
extensions:
Behat\MinkExtension\Extension:
default_session: goutte
goutte: ~
javascript_session: selenium2
selenium2: ~
frontend:
paths:
features: '%behat.paths.base%/tests/specs/features/frontend'
# the following you have to define in your "behat-local.yml"
# extensions:
# Behat\MinkExtension\Extension:
# base_url: 'http://localhost:8080'
backend:
paths:
features: '%behat.paths.base%/tests/specs/features/backend'
# the following you have to define in your "behat-local.yml"
# extensions:
# Behat\MinkExtension\Extension:
# base_url: 'http://localhost:8081'
imports:
- 'behat-local.yml'