This repository was archived by the owner on Feb 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpunit.xml
More file actions
54 lines (49 loc) · 2.02 KB
/
phpunit.xml
File metadata and controls
54 lines (49 loc) · 2.02 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
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="phpunit.xsd"
bootstrap="./application/tests/Bootstrap.php"
backupGlobals="true"
cacheTokens ="true"
convertDeprecationsToExceptions="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions ="true"
convertWarningsToExceptions ="true"
beStrictAboutOutputDuringTests ="true"
beStrictAboutResourceUsageDuringSmallTests ="true"
verbose="true"
colors="true">
<?ignore
?>
<testsuites>
<testsuite name="unit">
<directory phpVersion="4.0.0" phpVersionOperator=">=" suffix="test.php">./application/tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./application/tests/controllers</directory>
<directory suffix=".php">./application/tests/models</directory>
<directory suffix=".php">./application/tests/views</directory>
<directory suffix=".php">./application/tests/libraries</directory>
<directory suffix=".php">./application/tests/helpers</directory>
<directory suffix=".php">./application/tests/hooks</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="bin/build/coverage"/>
<log type="coverage-crap4j" target="bin/build/lophpgs/crap4j.xml"/>
<log type="coverage-text" target="bin/build/logs/text.txt"/>
<log type="coverage-php" target="bin/build/logs/test.php"/>
<log type="coverage-clover" target="bin/build/logs/clover.xml"/>
<log type="junit" target="bin/build/logs/junit.xml"/>
<log type="testdox-html" target="bin/build/coverage/testdox.html"/>
<log type="testdox-text" target="bin/build/logs/testdox.txt"/>
</logging>
<php>
<ini name="foo" value="bar"/> <!-- this is ini_set('foo', 'bar'); -->
<const name="foo" value="bar"/><!--this is define('foo', 'bar'); -->
<env name="foo" value="bar" force="true"/><!--this is $_ENV['foo'] = 'bar'; -->
<cookie name="foo" value="bar"/><!--this is $_COOKIE['foo'] = 'bar'; -->
<server name="foo" value="bar"/><!--this is $_SERVER['foo'] = 'bar'; -->
</php>
</phpunit>