forked from geocoder-php/Geocoder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
57 lines (52 loc) · 2.03 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
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="vendor/autoload.php"
>
<php>
<!--
Turn this parameter to 'false' or comment it to bypass
the caching layer. See the `CachedResponseAdapter` class.
-->
<server name="USE_CACHED_RESPONSES" value="true" />
<!-- API Keys -->
<server name="BINGMAPS_API_KEY" value="YOUR_API_KEY" />
<server name="GEOIPS_API_KEY" value="YOUR_API_KEY" />
<server name="MAPQUEST_API_KEY" value="YOUR_API_KEY" />
<server name="GEONAMES_USERNAME" value="YOUR_USERNAME" />
<server name="TOMTOM_MAP_KEY" value="YOUR_MAP_KEY" />
<server name="GOOGLE_GEOCODING_KEY" value="YOUR_GEOCODING_KEY" />
<server name="OPENCAGE_API_KEY" value="YOUR_GEOCODING_KEY" />
<server name="MAPZEN_API_KEY" value="YOUR_MAPZEN_API_KEY" />
<!-- <server name="MAXMIND_API_KEY" value="YOUR_API_KEY" /> -->
<!-- <server name="IPINFODB_API_KEY" value="YOUR_API_KEY" /> -->
</php>
<testsuites>
<testsuite name="Geocoder Test Suite">
<directory>./tests/</directory>
<directory>./src/Common/Tests/</directory>
<directory>./src/Provider/*/Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src/</directory>
<exclude>
<directory>./src/Common/Tests</directory>
<directory>./src/Provider/*/Tests</directory>
<directory>./src/Common/vendor</directory>
<directory>./src/Provider/*/vendor</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>