-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml
29 lines (29 loc) · 992 Bytes
/
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
default:
suites:
default:
paths:
- tests/Features/
contexts:
- Genesis\BehatApiSpec\Context\ApiSpecContext:
postRequestCallable: 'Genesis\ApiSpecTests\Features\Bootstrap\FeatureContext::setPlaceholders'
- FailAid\Context\FailureContext
- Genesis\ApiSpecTests\Features\Bootstrap\FeatureContext
extensions:
Imbo\BehatApiExtension: ~
Cjm\Behat\LocalWebserverExtension:
host : localhost # defaults to 'localhost'
port : 8090 # defaults to '8000'
docroot: tests/app # defaults to '%paths.base%/web'
Genesis\BehatApiSpec\Extension:
baseUrl: http://localhost:8090/index.php
specMappings:
endpoint: \Genesis\ApiSpecTests\Features\ApiSpec\Endpoint\
path: ./tests/Features/ApiSpec/Endpoint/
FailAid\Extension:
output:
api: true
Behat\MinkExtension:
base_url: 'http://localhost:8111'
sessions:
default:
goutte: ~