-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathphpunit.xml
More file actions
31 lines (30 loc) · 1.01 KB
/
Copy pathphpunit.xml
File metadata and controls
31 lines (30 loc) · 1.01 KB
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
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
defaultTestSuite="unit"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
<testsuites>
<!-- Mocked, no network. This is what runs by default and in CI. -->
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
<!-- Hits the live Ploi API, needs tests/.env with a valid API_TOKEN. -->
<testsuite name="integration">
<directory>tests/Integration</directory>
</testsuite>
</testsuites>
</phpunit>