-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
71 lines (66 loc) · 2.73 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
71 lines (66 loc) · 2.73 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
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<!--
PHPUnit configuration for MoodleManagement plugin
FacturaScripts 2025.81 · PHP 8.0+
Conforms with V2.0-ACTION-PLAN F0.9 + F14 (PHPUnit 9.6 and 10+ compat).
Usage (from plugin root, without command-line flags inside comments):
vendor/bin/phpunit
vendor/bin/phpunit with testsuite=Unit
vendor/bin/phpunit with testsuite=Integration
vendor/bin/phpunit with coverage-text
(double-hyphen command syntax would break the XML spec here.)
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="Test/bootstrap.php"
colors="true"
stopOnFailure="false"
cacheResultFile=".phpunit.cache/result"
executionOrder="defects"
failOnRisky="true"
failOnWarning="true">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">Test/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">Test/Integration</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true" cacheDirectory=".phpunit.cache/coverage">
<include>
<directory suffix=".php">Controller</directory>
<directory suffix=".php">Model</directory>
<directory suffix=".php">Lib</directory>
<directory suffix=".php">Worker</directory>
<directory suffix=".php">Extension</directory>
<directory suffix=".php">Widget</directory>
<file>Cron.php</file>
<file>Init.php</file>
</include>
<exclude>
<directory>Dinamic</directory>
<directory>Test</directory>
<directory>docs</directory>
<directory>.docs-dev</directory>
<directory>Assets</directory>
<directory>Translation</directory>
<directory>View</directory>
<directory>XMLView</directory>
<directory>Table</directory>
</exclude>
<report>
<html outputDirectory=".phpunit.cache/coverage-html" lowUpperBound="50" highLowerBound="70"/>
<text outputFile="php://stdout" showUncoveredFiles="false" showOnlySummary="true"/>
<clover outputFile=".phpunit.cache/coverage.xml"/>
</report>
</coverage>
<php>
<env name="APP_ENV" value="testing"/>
<env name="DB_DRIVER" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
</php>
<logging>
<junit outputFile=".phpunit.cache/junit.xml"/>
</logging>
</phpunit>