-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpunit.xml.dist
40 lines (40 loc) · 1.83 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/logs/html-coverage" lowUpperBound="50" highLowerBound="90"/>
</report>
</coverage>
<php>
<!-- Specify your MPX username and password for functional testing. -->
<env name="MPX_USERNAME" value=""/>
<env name="MPX_PASSWORD" value=""/>
<!-- Specify the MPX account URL to test with. -->
<env name="MPX_ACCOUNT" value=""/>
<!-- Set to 'true' to log all HTTP requests as curl commands.
Note this will EXPOSE PASSWORDS AND TOKENS in logs, so
this should only be enabled on local environments. -->
<env name="MPX_LOGGER" value="false"/>
<!-- Watch for deprecations, but only fail on direct deprecations,
not indirect ones. -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0"/>
</php>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/src/Unit</directory>
</testsuite>
<testsuite name="Functional">
<directory suffix="Test.php">./tests/src/Functional</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="build/test-results/results.xml"/>
</logging>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit>