forked from minkphp/MinkSelenium2Driver
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml.dist
44 lines (34 loc) · 1.71 KB
/
phpunit.xml.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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Driver test suite">
<directory>tests</directory>
<directory>vendor/mink/driver-testsuite/tests</directory>
</testsuite>
</testsuites>
<php>
<var name="driver_config_factory" value="Behat\Mink\Tests\Driver\Selenium2Config::getInstance" />
<!-- Docker for Mac, see https://docs.docker.com/docker-for-mac/networking/#there-is-no-docker0-bridge-on-macos#i-want-to-connect-from-a-container-to-a-service-on-the-host -->
<!--<server name="WEB_FIXTURES_HOST" value="http://host.docker.internal:8002"/>-->
<server name="WEB_FIXTURES_HOST" value="http://localhost:8002"/>
<!--<env name="BROWSER_NAME" value="htmlunit"/>-->
<!--<env name="BROWSER_NAME" value="chrome"/>-->
<!--<env name="DRIVER_OPTIONS" value='{"args":["headless", "no-sandbox","window-size=1024,768"]}'/>-->
<!--<env name="BROWSER_NAME" value="firefox"/>-->
<!--<env name="DRIVER_OPTIONS" value='{"preference": {"general.useragent.override": "x"}}'/>-->
<!-- where driver will connect to -->
<server name="DRIVER_URL" value="http://localhost:4444/wd/hub" />
<!-- where DocumentRoot of 'Test Machine' is mounted to on 'Driver Machine' (only if these are 2 different machines) -->
<!--server name="DRIVER_MACHINE_BASE_PATH" value="" /-->
<!--server name="TEST_MACHINE_BASE_PATH" value="" /-->
<!--<env name="DRIVER_OPTIONS" value='{}'/>-->
</php>
<filter>
<whitelist>
<directory>./src</directory>
</whitelist>
</filter>
</phpunit>