-
Notifications
You must be signed in to change notification settings - Fork 9
/
phpunit.xml.dist
48 lines (40 loc) · 2.34 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
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor-bin/phpunit/vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Driver test suite">
<directory>tests</directory>
<directory>vendor/mink/driver-testsuite/tests</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="OAndreyev\Mink\Tests\Driver\ScreenshotListener"/>
</listeners>
<php>
<var name="driver_config_factory" value="OAndreyev\Mink\Tests\Driver\WebDriverConfig::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"/>-->
<!-- See default value in \Behat\Mink\Tests\Driver\AbstractConfig::getWebFixturesUrl -->
<!-- <server name="WEB_FIXTURES_HOST" value="http://localhost:8002"/>-->
<!-- <env name="BROWSER_NAME" value="chrome"/>-->
<!-- https://peter.sh/experiments/chromium-command-line-switches/ -->
<!-- <env name="DRIVER_OPTIONS" value='{"args":["headless"]}'/>-->
<!-- <env name="BROWSER_NAME" value="firefox"/>-->
<!-- https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/firefoxOptions#binary-->
<!-- <env name="DRIVER_OPTIONS" value='{"log": {"level":"trace"}, "args": ["-headless"], "binary": "/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin"}'/>-->
<!-- <env name="DRIVER_OPTIONS" value='{"log": {"level":"trace"}, "binary": "/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin"}'/>-->
<!-- where driver will connect to -->
<server name="DRIVER_URL" value="http://localhost:4444" />
<!-- 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="DRIVER_URL" value="http://host.docker.internal:4444/wd/hub" />-->
</php>
<filter>
<whitelist>
<directory>./src</directory>
</whitelist>
</filter>
</phpunit>