-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathbehat.php
More file actions
32 lines (30 loc) · 1.04 KB
/
behat.php
File metadata and controls
32 lines (30 loc) · 1.04 KB
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
<?php
use Afup\Tests\Behat\Bootstrap\FeatureContext;
use Behat\Config\Config;
use Behat\Config\Extension;
use Behat\Config\Profile;
use Behat\Config\Suite;
use Behat\MinkExtension\Context\MinkContext;
use Behat\MinkExtension\ServiceContainer\MinkExtension;
return (new Config())
->withProfile(
(new Profile('default'))
->withExtension(new Extension(MinkExtension::class, [
'base_url' => 'https://apachephptest:80',
'files_path' => '%paths.base%/tests/behat/files',
'browserkit_http' => [
'http_client_parameters' => [
'verify_peer' => false,
'verify_host' => false,
],
],
]))
->withSuite(
(new Suite('web_features'))
->withContexts(
FeatureContext::class,
MinkContext::class
)
->withPaths('%paths.base%/tests/behat')
)
);