Repository navigation
Expand file tree
/
Copy pathphpunit.xml
More file actions
58 lines (55 loc) · 2 KB
/
Copy pathphpunit.xml
File metadata and controls
58 lines (55 loc) · 2 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="/work/include/vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="tests/bootstrap-unit.php"
cacheDirectory=".phpunit.cache"
colors="true"
failOnWarning="true"
failOnNotice="true"
failOnDeprecation="true"
beStrictAboutOutputDuringTests="false">
<php>
<ini name="error_reporting" value="-1"/>
<env name="CACTI_TEST_BOOTSTRAP" value="1"/>
</php>
<testsuites>
<testsuite name="Unit">
<directory>./tests/Security</directory>
<directory>./tests/Unit</directory>
<directory>./tests/Integration</directory>
</testsuite>
</testsuites>
<!--
Pest reads this PHPUnit-compatible configuration through Cacti's
Composer-managed vendor tree.
includes/functions.php (and the library files it loads, listed below),
includes/arrays.php, includes/polling.php, and setup.php are the only
plugin sources that load without a running Cacti (no top-level side
effects); every other file includes ./include/auth.php and dispatches
on the request at top level. tests/Integration/PluginLifecycleTest.php
is what requires setup.php directly.
-->
<source>
<include>
<file>includes/arrays.php</file>
<file>includes/baseline.php</file>
<file>includes/constants.php</file>
<file>includes/display.php</file>
<file>includes/evaluate.php</file>
<file>includes/evaluate_baseline.php</file>
<file>includes/evaluate_hilow.php</file>
<file>includes/evaluate_time.php</file>
<file>includes/expression.php</file>
<file>includes/functions.php</file>
<file>includes/logging.php</file>
<file>includes/notify.php</file>
<file>includes/notify_queue.php</file>
<file>includes/polling.php</file>
<file>includes/queries.php</file>
<file>includes/sampling.php</file>
<file>includes/templates.php</file>
<file>includes/threshold_api.php</file>
<file>setup.php</file>
</include>
</source>
</phpunit>