-
Notifications
You must be signed in to change notification settings - Fork 463
/
phpunit.xml.dist
33 lines (30 loc) · 1.24 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./tests/bootstrap.php"
beStrictAboutTestsThatDoNotTestAnything="false"
convertWarningsToExceptions="true"
convertNoticesToExceptions="true"
convertErrorsToExceptions="true"
convertDeprecationsToExceptions="true"
colors="true">
<testsuites>
<testsuite name="Unit Tests">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
<exclude>
<!-- Exclude data directories, and files -->
<directory suffix=".php">./src/data/</directory>
<directory suffix=".php">./src/carrier/data/</directory>
<directory suffix=".php">./src/geocoding/data/</directory>
<directory suffix=".php">./src/timezone/data/</directory>
<file>./src/AlternateFormatsCountryCodeSet.php</file>
<file>./src/CountryCodeToRegionCodeMap.php</file>
<file>./src/CountryCodeToRegionCodeMapForTesting.php</file>
<file>./src/RegionCode.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>