-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathphpunit.xml.dist
46 lines (43 loc) · 2.37 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
colors="true"
bootstrap="vendor/autoload.php"
>
<coverage>
<include>
<directory>./src</directory>
</include>
</coverage>
<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"/>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</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"/>-->
<!-- 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" />-->
<!-- CHROME -->
<!--<env name="BROWSER_NAME" value="chrome"/>-->
<!--https://peter.sh/experiments/chromium-command-line-switches/ -->
<!--<env name="DRIVER_OPTIONS" value='{"args":["headless"]}'/>-->
<!-- FIREFOX -->
<!--<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"]}'/>-->
<!--<env name="DRIVER_OPTIONS" value='{"log": {"level":"trace"}, "binary": "/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin"}'/>-->
</php>
</phpunit>